Skip to content

Commit fad845c

Browse files
committed
chore: Upgrade react native to v0.75
1 parent fa2a49a commit fad845c

File tree

15 files changed

+2707
-1958
lines changed

15 files changed

+2707
-1958
lines changed

.yarn/releases/yarn-4.1.1.cjs

Lines changed: 0 additions & 893 deletions
This file was deleted.

.yarn/releases/yarn-4.4.1.cjs

Lines changed: 925 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
nodeLinker: node-modules
22

3-
yarnPath: .yarn/releases/yarn-4.1.1.cjs
3+
yarnPath: .yarn/releases/yarn-4.4.1.cjs

android/app/build.gradle

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ apply plugin: 'com.google.gms.google-services'
1010
*/
1111
react {
1212
/* Folders */
13-
// The root of your project, i.e. where "package.json" lives. Default is '..'
14-
// root = file("../")
15-
// The folder where the react-native NPM package is. Default is ../node_modules/react-native
16-
// reactNativeDir = file("../node_modules/react-native")
17-
// The folder where the react-native Codegen package is. Default is ../node_modules/@react-native/codegen
18-
// codegenDir = file("../node_modules/@react-native/codegen")
19-
// The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js
20-
// cliFile = file("../node_modules/react-native/cli.js")
13+
// The root of your project, i.e. where "package.json" lives. Default is '../..'
14+
// root = file("../../")
15+
// The folder where the react-native NPM package is. Default is ../../node_modules/react-native
16+
// reactNativeDir = file("../../node_modules/react-native")
17+
// The folder where the react-native Codegen package is. Default is ../../node_modules/@react-native/codegen
18+
// codegenDir = file("../../node_modules/@react-native/codegen")
19+
// The cli.js file which is the React Native CLI entrypoint. Default is ../../node_modules/react-native/cli.js
20+
// cliFile = file("../../node_modules/react-native/cli.js")
2121

2222
/* Variants */
2323
// The list of variants to that are debuggable. For those we're going to
@@ -50,7 +50,10 @@ react {
5050
// hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc"
5151
//
5252
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
53-
// hermesFlags = ["-O", "-output-source-map"]
53+
// hermesFlags = ["-O", "-output-source-map"]
54+
55+
/* Autolinking */
56+
autolinkLibrariesWithApp()
5457
}
5558

5659
/**
@@ -122,5 +125,3 @@ dependencies {
122125
androidTestImplementation('com.wix:detox:+')
123126
implementation 'androidx.appcompat:appcompat:1.1.0'
124127
}
125-
126-
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
android:roundIcon="@mipmap/ic_launcher_round"
1111
android:allowBackup="false"
1212
android:theme="@style/AppTheme"
13+
android:supportsRtl="true"
1314
android:networkSecurityConfig="@xml/network_security_config">
1415
<activity
1516
android:name=".MainActivity"

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
compileSdkVersion = 34
66
targetSdkVersion = 34
77
ndkVersion = "26.1.10909125"
8-
kotlinVersion = '1.9.22'
8+
kotlinVersion = "1.9.24"
99
}
1010
repositories {
1111
google()

android/gradle.properties

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
2121
# Android operating system, and which are packaged with your app's APK
2222
# https://developer.android.com/topic/libraries/support-library/androidx-rn
2323
android.useAndroidX=true
24-
# Automatically convert third-party libraries to use AndroidX
25-
android.enableJetifier=true
2624

2725
# Use this property to specify which architecture you want to build.
2826
# You can also override it from the CLI using

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

android/gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Darwin, MinGW, and NonStop.
5656
#
5757
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58+
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959
# within the Gradle project.
6060
#
6161
# You can find Gradle at https://github.com/gradle/gradle/.

android/settings.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
2+
plugins { id("com.facebook.react.settings") }
3+
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
14
rootProject.name = 'ReactNativeStarter'
2-
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
35
include ':app'
46
includeBuild('../node_modules/@react-native/gradle-plugin')

0 commit comments

Comments
 (0)