Skip to content

Commit

Permalink
ReactNative upgrade to 0.72.7
Browse files Browse the repository at this point in the history
  • Loading branch information
adam1929 authored Nov 29, 2023
1 parent 134b755 commit f2a662a
Show file tree
Hide file tree
Showing 9 changed files with 2,131 additions and 15,763 deletions.
5 changes: 3 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ def detectReactNativeVersionString() {
.trim()
}
def REACT_NATIVE_VERSION = detectReactNativeVersion()
def REACT_NATIVE_VERSION_STRING = detectReactNativeVersionString()

allprojects {
configurations.all {
resolutionStrategy {
force "com.facebook.react:react-native:" + detectReactNativeVersionString()
force "com.facebook.react:react-native:" + REACT_NATIVE_VERSION_STRING
}
}
}
Expand Down Expand Up @@ -112,7 +113,7 @@ repositories {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
if (REACT_NATIVE_VERSION >= 71) {
implementation "com.facebook.react:react-android:0.72.6"
implementation "com.facebook.react:react-android:" + REACT_NATIVE_VERSION_STRING
} else {
// noinspection GradleDynamicVersion
implementation 'com.facebook.react:react-native:+'
Expand Down
1 change: 1 addition & 0 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ dependencies {
implementation 'com.exponea.sdk:sdk:3.10.0'
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
implementation 'com.google.code.gson:gson:2.8.9'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0'

if (enableHermes) {
def hermesPath = "../../node_modules/hermes-engine/android/"
Expand Down
Loading

0 comments on commit f2a662a

Please sign in to comment.