Skip to content

Commit

Permalink
React Native 0.76
Browse files Browse the repository at this point in the history
  • Loading branch information
hsjoberg committed Oct 31, 2024
1 parent ad95233 commit 74f0ed2
Show file tree
Hide file tree
Showing 9 changed files with 914 additions and 775 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ ruby ">= 2.6.10"
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
gem 'xcodeproj', '< 1.26.0'
3 changes: 2 additions & 1 deletion android/app/src/main/java/com/blixtwallet/MainApplication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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 com.hypertrack.hyperlog.HyperLog
Expand Down Expand Up @@ -48,7 +49,7 @@ class MainApplication : Application(), ReactApplication {

override fun onCreate() {
super.onCreate()
SoLoader.init(this, false)
SoLoader.init(this, OpenSourceMergedSoMapping)
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
// If you opted-in for the New Architecture, we load the native entry point for this app.
load()
Expand Down
6 changes: 3 additions & 3 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

buildscript {
ext {
buildToolsVersion = "34.0.0"
minSdkVersion = 23
compileSdkVersion = 34
buildToolsVersion = "35.0.0"
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 34

// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
Expand Down
Binary file modified android/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
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
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
7 changes: 5 additions & 2 deletions android/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#

##############################################################################
#
Expand Down Expand Up @@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand Down Expand Up @@ -84,7 +86,8 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
2 changes: 2 additions & 0 deletions android/gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@rem SPDX-License-Identifier: Apache-2.0
@rem

@if "%DEBUG%"=="" @echo off
@rem ##########################################################################
Expand Down
22 changes: 12 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@babel/preset-typescript": "7.24.7",
"@notifee/react-native": "^7.8.2",
"@react-native-async-storage/async-storage": "2.0.0",
"@react-native-clipboard/clipboard": "1.14.1",
"@react-native-clipboard/clipboard": "1.14.3",
"@react-native-community/geolocation": "3.4.0",
"@react-native-community/masked-view": "^0.1.11",
"@react-native-community/netinfo": "11.3.2",
Expand Down Expand Up @@ -102,7 +102,7 @@
"react-dom": "^18.2.0",
"react-google-maps": "^9.4.5",
"react-i18next": "15.0.1",
"react-native": "0.75.2",
"react-native": "0.76.1",
"react-native-animatable": "^1.4.0",
"react-native-build-config": "github:hsjoberg/react-native-build-config#d53d9a486331dd8b06764a6bbc61e74eb253f475",
"react-native-camera-kit": "^13.0.0",
Expand All @@ -121,26 +121,25 @@
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-keychain": "^8.1.2",
"react-native-linear-gradient": "^2.8.3",
"react-native-macos": "0.75.2",
"react-native-maps": "1.18.0",
"react-native-modal": "^13.0.1",
"react-native-paper": "5.12.5",
"react-native-permissions": "4.1.5",
"react-native-popup-menu": "^0.16.1",
"react-native-qrcode-svg": "6.3.2",
"react-native-reanimated": "^3.15.1",
"react-native-reanimated": "3.16.1",
"react-native-safe-area-context": "4.10.9",
"react-native-screens": "3.34.0",
"react-native-securerandom": "github:hsjoberg/react-native-securerandom#b6bc5b7e68bd3e626536a3048e280f9130a8ebb4",
"react-native-sqlite-storage": "^6.0.1",
"react-native-status-bar-height": "github:wzs/react-native-status-bar-height#5b1d68a6c708c14af24b2546c659702fbfb82b99",
"react-native-svg": "15.6.0",
"react-native-svg": "15.8.0",
"react-native-svg-path-gradient": "^0.4.0",
"react-native-svg-web": "^1.0.9",
"react-native-tor": "^0.1.8",
"react-native-unimodules": "^0.14.10",
"react-native-vector-icons": "9.2.0",
"react-native-vision-camera": "4.5.2",
"react-native-vision-camera": "4.6.0",
"react-native-web": "0.19.12",
"react-native-web-linear-gradient": "^1.1.2",
"react-native-web-maps": "^0.3.0",
Expand All @@ -164,9 +163,13 @@
"@electron-forge/cli": "7.4.0",
"@electron-forge/maker-zip": "7.4.0",
"@electron-forge/plugin-webpack": "7.4.0",
"@react-native/babel-preset": "0.75.2",
"@react-native/eslint-config": "0.75.2",
"@react-native/metro-config": "0.75.2",
"@react-native-community/cli": "15.0.0-alpha.2",
"@react-native-community/cli-platform-android": "15.0.0-alpha.2",
"@react-native-community/cli-platform-ios": "15.0.0-alpha.2",
"@react-native/babel-preset": "0.76.1",
"@react-native/eslint-config": "0.76.1",
"@react-native/metro-config": "0.76.1",
"@react-native/typescript-config": "0.76.1",
"@testing-library/react-native": "12.6.1",
"@tsconfig/react-native": "^3.0.0",
"@types/aes-js": "^3.1.4",
Expand Down Expand Up @@ -195,7 +198,6 @@
"jest": "^29.6.4",
"jest-date-mock": "1.0.10",
"jest-fetch-mock": "3.0.3",
"metro": "0.80.10",
"node-loader": "^2.0.0",
"prettier": "3.3.3",
"react-test-renderer": "18.3.1",
Expand Down
Loading

0 comments on commit 74f0ed2

Please sign in to comment.