Skip to content

Commit

Permalink
Fix android build
Browse files Browse the repository at this point in the history
  • Loading branch information
yogevbd committed Dec 21, 2022
1 parent 3bb1af5 commit ca63882
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@
"pngjs": "^6.0.0",
"prettier": "2.1.2",
"react": "18.1.0",
"react-native": "0.70.3",
"react-native": "0.70.5",
"react-native-fast-image": "^8.3.4",
"react-native-gesture-handler": "^1.6.1",
"react-native-reanimated": "3.0.0-rc.3",
"react-native-reanimated": "3.0.0-rc.8",
"react-native-ui-lib": "6.21.0",
"react-redux": "5.x.x",
"react-test-renderer": "18.0.0",
Expand Down
7 changes: 7 additions & 0 deletions playground/android/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ include ':react-native-navigation'
project(':react-native-navigation').projectDir = new File(rootProject.projectDir, '../../lib/android/app/')
//include ':AHBottomNavigation'
//project(':AHBottomNavigation').projectDir = new File(rootProject.projectDir, '../../../ahbottomnavigation/ahbottomnavigation/')

if (settings.hasProperty("newArchEnabled") && settings.newArchEnabled == "true") {
include(":ReactAndroid")
project(":ReactAndroid").projectDir = file('../../node_modules/react-native/ReactAndroid')
include(":ReactAndroid:hermes-engine")
project(":ReactAndroid:hermes-engine").projectDir = file('../../node_modules/react-native/ReactAndroid/hermes-engine')
}

0 comments on commit ca63882

Please sign in to comment.