Skip to content

Commit ab45e3d

Browse files
chore: upgrade example app and library deps to RN 0.87 (#760)
# Summary Upgrade example app and library deps to RN 0.87 ## Test Plan - Ensure example app builds and works fine - Ensure example-web app builds and works fine - Ensure library builds properly ## Screenshots / Videos n/a ## Compatibility | OS | Implemented | | ------- | :---------: | | iOS | ✅ | | Android | ✅ | | Web | ❌ | ## Checklist - [x] E2E tests are passing - [ ] Required E2E tests have been added (if applicable)
1 parent 9b76677 commit ab45e3d

29 files changed

Lines changed: 1179 additions & 1227 deletions

android/gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ReactNativeEnrichedHtml_kotlinVersion=2.0.21
1+
ReactNativeEnrichedHtml_kotlinVersion=2.2.0
22
ReactNativeEnrichedHtml_minSdkVersion=24
3-
ReactNativeEnrichedHtml_targetSdkVersion=34
4-
ReactNativeEnrichedHtml_compileSdkVersion=35
3+
ReactNativeEnrichedHtml_targetSdkVersion=36
4+
ReactNativeEnrichedHtml_compileSdkVersion=37
55
ReactNativeEnrichedHtml_ndkVersion=27.1.12297006

apps/example-web/tsconfig.app.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"compilerOptions": {
44
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
55
"types": ["vite/client"],
6-
"baseUrl": ".",
76
"paths": {
87
"react-native-enriched-html": ["../../src/index.tsx"]
98
}

apps/example/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ android {
102102
// see https://reactnative.dev/docs/signed-apk-android.
103103
signingConfig signingConfigs.debug
104104
minifyEnabled enableProguardInReleaseBuilds
105-
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
105+
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
106106
}
107107
}
108108
}

apps/example/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
buildscript {
22
ext {
3-
buildToolsVersion = "36.0.0"
3+
buildToolsVersion = "37.0.0"
44
minSdkVersion = 24
5-
compileSdkVersion = 36
5+
compileSdkVersion = 37
66
targetSdkVersion = 36
77
ndkVersion = "27.1.12297006"
8-
kotlinVersion = "2.1.20"
8+
kotlinVersion = "2.2.0"
99
}
1010
repositories {
1111
google()

apps/example/android/gradle.properties

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,9 @@ hermesEnabled=true
4141
# Use this property to enable edge-to-edge display support.
4242
# This allows your app to draw behind system bars for an immersive UI.
4343
# Note: Only works with ReactActivity and should not be used with custom Activity.
44-
edgeToEdgeEnabled=false
44+
edgeToEdgeEnabled=true
45+
46+
# Opt out of built-in kotlin and new DSL behavior that ships with AGP 9.
47+
# Starting from AGP 10.x these opt outs will be removed.
48+
android.builtInKotlin=false
49+
android.newDsl=false
2.73 KB
Binary file not shown.

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

apps/example/android/gradlew

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/example/ios/EnrichedTextInputExample.xcodeproj/project.pbxproj

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

apps/example/ios/EnrichedTextInputExample/PrivacyInfo.xcprivacy

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@
1515
</dict>
1616
<dict>
1717
<key>NSPrivacyAccessedAPIType</key>
18-
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
18+
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
1919
<key>NSPrivacyAccessedAPITypeReasons</key>
2020
<array>
21-
<string>CA92.1</string>
21+
<string>35F9.1</string>
2222
</array>
2323
</dict>
2424
<dict>
2525
<key>NSPrivacyAccessedAPIType</key>
26-
<string>NSPrivacyAccessedAPICategorySystemBootTime</string>
26+
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
2727
<key>NSPrivacyAccessedAPITypeReasons</key>
2828
<array>
29-
<string>35F9.1</string>
29+
<string>CA92.1</string>
3030
</array>
3131
</dict>
3232
</array>

0 commit comments

Comments
 (0)