File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed
react-native-harmony-gesture-handler
harmony/entry/src/main/cpp Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 72
72
]
73
73
]
74
74
}
75
- }
75
+ }
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ set(CMAKE_ASM_FLAGS "-Wno-error=unused-command-line-argument -Qunused-arguments"
4
4
set (OH_MODULES_DIR "${CMAKE_CURRENT_SOURCE_DIR} /../../../oh_modules" )
5
5
set (RNOH_APP_DIR "${CMAKE_CURRENT_SOURCE_DIR} " )
6
6
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 )
9
9
10
10
file (GLOB GENERATED_CPP_FILES "./generated/*.cpp" )
11
11
add_subdirectory ("${RNOH_CPP_DIR} " ./rn )
Original file line number Diff line number Diff line change 1
1
import { AppRegistry } from 'react-native' ;
2
2
import App from './App' ;
3
3
import { name as appName } from './app.json' ;
4
+ import LongPressDemo from './demo/shouldCancelWhenOutside' ;
5
+ import GestureDelayedResponse from './demo/GestureDelayedResponse' ;
6
+
4
7
5
8
AppRegistry . registerComponent ( appName , ( ) => App ) ;
9
+ AppRegistry . registerComponent ( appName , ( ) => LongPressDemo ) ;
10
+ AppRegistry . registerComponent ( appName , ( ) => GestureDelayedResponse ) ;
Original file line number Diff line number Diff line change 17
17
"react" : " 18.2.0" ,
18
18
"react-native" : " 0.72.5" ,
19
19
"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" ,
21
21
"react-native-harmony-gesture-handler" : " file:../react-native-harmony-gesture-handler/react-native-oh-tpl-react-native-gesture-handler-2.14.12.tgz"
22
22
},
23
23
"devDependencies" : {
44
44
"preset" : " react-native"
45
45
},
46
46
"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" ,
48
48
"@react-native/codegen" : " 0.74.0"
49
49
}
50
50
}
You can’t perform that action at this time.
0 commit comments