Skip to content

Commit d484518

Browse files
committed
enable newarch
1 parent 2a04d51 commit d484518

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

example/android/app/src/main/java/com/margelo/rnquicksqlite/example/MainApplication.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class MainApplication : Application(), ReactApplication {
3737
SoLoader.init(this, false)
3838
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
3939
// If you opted-in for the New Architecture, we load the native entry point for this app.
40-
load(bridgelessEnabled=false)
40+
load()
4141
}
4242
}
4343
}

example/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
3232
# your application. You should enable this flag either if you want
3333
# to write custom TurboModules/Fabric components OR use libraries that
3434
# are providing them.
35-
newArchEnabled=false
35+
newArchEnabled=true
3636

3737
# Use this property to enable or disable the Hermes JS engine.
3838
# If set to false, you will be using JSC instead.

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "8.1.0",
44
"private": true,
55
"scripts": {
6-
"pods": "cd ios && bundle exec pod install",
6+
"pods": "cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install",
77
"android": "react-native run-android",
88
"ios": "react-native run-ios",
99
"start": "react-native start",

0 commit comments

Comments
 (0)