Skip to content

Commit 5e49a96

Browse files
Upgrage the example app to react-native v19 for Android
1 parent b016f11 commit 5e49a96

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

example/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ def enableProguardInReleaseBuilds = false
6262
* The preferred build flavor of JavaScriptCore (JSC)
6363
*
6464
* For example, to use the international variant, you can use:
65-
* `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
65+
* `def jscFlavor = io.github.react-native-community:jsc-android-intl:2026004.+`
6666
*
6767
* The international variant includes ICU i18n library and necessary data
6868
* allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
6969
* give correct results when using with locales other than en-US. Note that
7070
* this variant is about 6MiB larger per architecture than default.
7171
*/
72-
def jscFlavor = 'org.webkit:android-jsc:+'
72+
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
7373

7474
android {
7575
ndkVersion rootProject.ext.ndkVersion

example/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ buildscript {
33
buildToolsVersion = "35.0.0"
44
minSdkVersion = 24
55
compileSdkVersion = 35
6-
targetSdkVersion = 34
7-
ndkVersion = "26.1.10909125"
8-
kotlinVersion = "1.9.24"
6+
targetSdkVersion = 35
7+
ndkVersion = "27.1.12297006"
8+
kotlinVersion = "2.0.21"
99
}
1010
repositories {
1111
google()
122 Bytes
Binary file not shown.

example/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.10.2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

example/android/gradlew

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)