Expand file tree Collapse file tree 6 files changed +49
-338
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ newArchEnabled=true
42
42
# ANDROID_NDK_VERSION=21.4.7075529
43
43
44
44
# Version of Kotlin to build against.
45
- KOTLIN_VERSION =1.9.20
45
+ KOTLIN_VERSION =1.9.23
46
46
47
47
# This is an example of how you can change default DB size (6MB) to 10MB
48
48
# AsyncStorage_db_size_in_MB=10
@@ -51,4 +51,4 @@ KOTLIN_VERSION=1.9.20
51
51
AsyncStorage_dedicatedExecutor =true
52
52
AsyncStorage_useNextStorage =true
53
53
54
- REACT_NATIVE_NODE_MODULES_DIR = ../node_modules/react-native
54
+ reactNativeArchitectures = armeabi-v7a,arm64-v8a,x86,x86_64
Original file line number Diff line number Diff line change @@ -8,5 +8,14 @@ pluginManagement {
8
8
9
9
rootProject. name = " AsyncStorageExample"
10
10
11
- apply(from : " ../../node_modules/react-native-test-app/test-app.gradle" )
11
+ apply(from : {
12
+ def searchDir = rootDir. toPath()
13
+ do {
14
+ def p = searchDir. resolve(" node_modules/react-native-test-app/test-app.gradle" )
15
+ if (p. toFile(). exists()) {
16
+ return p. toRealPath(). toString()
17
+ }
18
+ } while (searchDir = searchDir. getParent())
19
+ throw new GradleException (" Could not find `react-native-test-app`" );
20
+ }())
12
21
applyTestAppSettings(settings)
Original file line number Diff line number Diff line change 1
- require_relative '../../node_modules/react-native-test-app/test_app'
1
+ ws_dir = Pathname . new ( __dir__ )
2
+ ws_dir = ws_dir . parent until
3
+ File . exist? ( "#{ ws_dir } /node_modules/react-native-test-app/test_app.rb" ) ||
4
+ ws_dir . expand_path . to_s == '/'
5
+ require "#{ ws_dir } /node_modules/react-native-test-app/test_app.rb"
2
6
3
7
workspace 'AsyncStorageExample.xcworkspace'
4
8
5
- use_flipper! false
6
-
7
9
options = {
8
10
:fabric_enabled => false ,
9
- :hermes_enabled => false ,
10
- :turbomodule_enabled => false ,
11
+ :hermes_enabled => false
11
12
}
12
13
13
14
use_test_app! options do |target |
Original file line number Diff line number Diff line change 95
95
"react-native-builder-bob" : " ^0.18.0" ,
96
96
"react-native-codegen" : " ^0.71.5" ,
97
97
"react-native-macos" : " ^0.71.0" ,
98
- "react-native-test-app" : " ^2.5.33 " ,
98
+ "react-native-test-app" : " ^3.7.0 " ,
99
99
"react-native-web" : " ~0.18.10" ,
100
100
"react-native-windows" : " ^0.71.0" ,
101
101
"react-test-renderer" : " 18.2.0" ,
Original file line number Diff line number Diff line change 68
68
"react" : " 18.2.0" ,
69
69
"react-native" : " 0.73.6" ,
70
70
"react-native-builder-bob" : " ^0.20.0" ,
71
- "react-native-test-app" : " ^3.3.1 " ,
71
+ "react-native-test-app" : " ^3.7.0 " ,
72
72
"typescript" : " ^5.2.2"
73
73
},
74
74
"react-native-builder-bob" : {
0 commit comments