diff --git a/android/app/src/main/java/org/ZingoLabs/Zingo/MainApplication.kt b/android/app/src/main/java/org/ZingoLabs/Zingo/MainApplication.kt index 321081584..e42fc5e45 100644 --- a/android/app/src/main/java/org/ZingoLabs/Zingo/MainApplication.kt +++ b/android/app/src/main/java/org/ZingoLabs/Zingo/MainApplication.kt @@ -10,6 +10,7 @@ import com.facebook.react.ReactPackage import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost import com.facebook.react.defaults.DefaultReactNativeHost +import com.facebook.react.soloader.OpenSourceMergedSoMapping import com.facebook.soloader.SoLoader import java.lang.ref.WeakReference @@ -38,6 +39,7 @@ class MainApplication : Application(), ReactApplication { override fun onCreate() { super.onCreate() + SoLoader.init(this, OpenSourceMergedSoMapping) context = WeakReference(applicationContext) SoLoader.init(this, false) diff --git a/android/build.gradle b/android/build.gradle index f9b1889fc..c4c809380 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -2,9 +2,9 @@ buildscript { ext { - buildToolsVersion = "34.0.0" + buildToolsVersion = "35.0.0" minSdkVersion = 24 - compileSdkVersion = 34 + compileSdkVersion = 35 targetSdkVersion = 34 ndkVersion = "26.3.11579264" kotlinVersion = "1.9.25" diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 7677fa7c9..30538d8e6 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,7 @@ #Fri Jan 24 19:05:10 MST 2025 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/android/gradlew b/android/gradlew index 8dfedc953..dc6bdceba 100755 --- a/android/gradlew +++ b/android/gradlew @@ -15,7 +15,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # - # SPDX-License-Identifier: Apache-2.0 # @@ -41,7 +40,8 @@ done SAVED="`pwd`" cd "`dirname \"$PRG\"`/" >/dev/null # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s +' "$PWD" ) || exit cd "$SAVED" >/dev/null APP_NAME="Gradle" diff --git a/package.json b/package.json index b6efaf114..21fd5bf3f 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "prop-types": "^15.8.1", "randomcolor": "^0.6.2", "react": "18.3.1", - "react-native": "0.75.5", + "react-native": "0.76.7", "react-native-biometrics": "^3.0.1", "react-native-device-info": "^11.1.0", "react-native-fs": "^2.20.0", @@ -74,10 +74,12 @@ "@babel/preset-env": "^7.25.3", "@babel/runtime": "^7.25.0", "@react-native-community/cli": "15.0.1", - "@react-native/babel-preset": "0.75.5", - "@react-native/eslint-config": "0.75.5", - "@react-native/metro-config": "0.75.5", - "@react-native/typescript-config": "0.75.5", + "@react-native-community/cli-platform-android": "15.0.1", + "@react-native-community/cli-platform-ios": "15.0.1", + "@react-native/babel-preset": "0.76.7", + "@react-native/eslint-config": "0.76.7", + "@react-native/metro-config": "0.76.7", + "@react-native/typescript-config": "0.76.7", "@testing-library/jest-native": "^5.3.3", "@testing-library/react-native": "^11.5.2", "@tsconfig/react-native": "^3.0.5",