Skip to content

Commit 93f2d51

Browse files
authored
support 0.77+ (#482)
* 0.78 example * fix 0.77+ bridgeless detection
1 parent 4944b05 commit 93f2d51

File tree

11 files changed

+663
-653
lines changed

11 files changed

+663
-653
lines changed

Example/testHotUpdate/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ build/
3030
local.properties
3131
*.iml
3232
*.hprof
33+
.kotlin/
3334

3435
# node.js
3536
#

Example/testHotUpdate/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def enableProguardInReleaseBuilds = false
6868
* give correct results when using with locales other than en-US. Note that
6969
* this variant is about 6MiB larger per architecture than default.
7070
*/
71-
def jscFlavor = 'org.webkit:android-jsc:+'
71+
def jscFlavor = 'io.github.react-native-community:jsc-android:2026004.+'
7272

7373
android {
7474
ndkVersion rootProject.ext.ndkVersion

Example/testHotUpdate/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.25"
6+
targetSdkVersion = 35
7+
ndkVersion = "27.1.12297006"
8+
kotlinVersion = "2.0.21"
99
}
1010
repositories {
1111
google()

Example/testHotUpdate/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.12-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

Example/testHotUpdate/android/gradlew

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ done
8686
# shellcheck disable=SC2034
8787
APP_BASE_NAME=${0##*/}
8888
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
89-
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90-
' "$PWD" ) || exit
89+
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit
9190

9291
# Use the maximum available, or set MAX_FD != -1 to use that value.
9392
MAX_FD=maximum

Example/testHotUpdate/bun.lock

Lines changed: 78 additions & 95 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)