Skip to content

Commit d8079fe

Browse files
committed
bump test-app
1 parent 7bd3491 commit d8079fe

File tree

5 files changed

+43
-333
lines changed

5 files changed

+43
-333
lines changed

packages/default-storage/example/android/gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ newArchEnabled=true
4242
#ANDROID_NDK_VERSION=21.4.7075529
4343

4444
# Version of Kotlin to build against.
45-
KOTLIN_VERSION=1.9.20
45+
KOTLIN_VERSION=1.9.23
4646

4747
# This is an example of how you can change default DB size (6MB) to 10MB
4848
#AsyncStorage_db_size_in_MB=10
@@ -51,4 +51,4 @@ KOTLIN_VERSION=1.9.20
5151
AsyncStorage_dedicatedExecutor=true
5252
AsyncStorage_useNextStorage=true
5353

54-
REACT_NATIVE_NODE_MODULES_DIR=../node_modules/react-native
54+
reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64

packages/default-storage/example/android/settings.gradle

+10-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,14 @@ pluginManagement {
88

99
rootProject.name = "AsyncStorageExample"
1010

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+
}())
1221
applyTestAppSettings(settings)

packages/default-storage/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"react-native-builder-bob": "^0.18.0",
9696
"react-native-codegen": "^0.71.5",
9797
"react-native-macos": "^0.71.0",
98-
"react-native-test-app": "^2.5.33",
98+
"react-native-test-app": "^3.7.0",
9999
"react-native-web": "~0.18.10",
100100
"react-native-windows": "^0.71.0",
101101
"react-test-renderer": "18.2.0",

packages/sqlite-storage/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"react": "18.2.0",
6969
"react-native": "0.73.6",
7070
"react-native-builder-bob": "^0.20.0",
71-
"react-native-test-app": "^3.3.1",
71+
"react-native-test-app": "^3.7.0",
7272
"typescript": "^5.2.2"
7373
},
7474
"react-native-builder-bob": {

0 commit comments

Comments
 (0)