Skip to content

Commit 8e599f0

Browse files
committed
chore: update RNOH to 0.72.35
See merge request rnoh/react-native-harmony-gesture-handler!73 (cherry picked from commit c36c02466bf03262bef4aa9ace168929af5e0f4e)
1 parent fa2eabc commit 8e599f0

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

react-native-harmony-gesture-handler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@
7272
]
7373
]
7474
}
75-
}
75+
}

tester/harmony/entry/src/main/cpp/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ set(CMAKE_ASM_FLAGS "-Wno-error=unused-command-line-argument -Qunused-arguments"
44
set(OH_MODULES_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../oh_modules")
55
set(RNOH_APP_DIR "${CMAKE_CURRENT_SOURCE_DIR}")
66
set(RNOH_CPP_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../../../oh_modules/@rnoh/react-native-openharmony/src/main/cpp")
7-
set(WITH_HITRACE_SYSTRACE 1)
8-
add_compile_definitions(WITH_HITRACE_SYSTRACE)
7+
set(WITH_HITRACE_SYSTRACE ON)
8+
set(WITH_HITRACE_REACT_MARKER ON)
99

1010
file(GLOB GENERATED_CPP_FILES "./generated/*.cpp")
1111
add_subdirectory("${RNOH_CPP_DIR}" ./rn)

tester/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
import {AppRegistry} from 'react-native';
22
import App from './App';
33
import {name as appName} from './app.json';
4+
import LongPressDemo from './demo/shouldCancelWhenOutside';
5+
import GestureDelayedResponse from './demo/GestureDelayedResponse';
6+
47

58
AppRegistry.registerComponent(appName, () => App);
9+
AppRegistry.registerComponent(appName, () => LongPressDemo);
10+
AppRegistry.registerComponent(appName, () => GestureDelayedResponse);

tester/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"react": "18.2.0",
1818
"react-native": "0.72.5",
1919
"react-native-gesture-handler": "2.14.1",
20-
"react-native-harmony": "file:rnoh_package/react-native-harmony/rnoh-react-native-harmony-0.72.28.tgz",
20+
"react-native-harmony": "file:rnoh_package/react-native-harmony/rnoh-react-native-harmony-0.72.35.tgz",
2121
"react-native-harmony-gesture-handler": "file:../react-native-harmony-gesture-handler/react-native-oh-tpl-react-native-gesture-handler-2.14.12.tgz"
2222
},
2323
"devDependencies": {
@@ -44,7 +44,7 @@
4444
"preset": "react-native"
4545
},
4646
"overrides": {
47-
"@rnoh/react-native-harmony-cli": "file:rnoh_package/react-native-harmony-cli/rnoh-react-native-harmony-cli-0.0.26.tgz",
47+
"@rnoh/react-native-harmony-cli": "file:rnoh_package/react-native-harmony-cli/rnoh-react-native-harmony-cli-0.0.27.tgz",
4848
"@react-native/codegen": "0.74.0"
4949
}
5050
}

0 commit comments

Comments
 (0)