Skip to content

Commit ecc4714

Browse files
Teodor Ciuraruclaude
andcommitted
chore(react-native): upgrade to React Native 0.82.1
Update the bare React Native project from 0.79.1 to 0.82.1 to align with the latest template while preserving all Ditto-specific customizations. ## Changes ### Dependencies - React Native: 0.79.1 → 0.82.1 - React: 19.0.0 → 19.1.1 - @react-native packages: 0.79.1 → 0.82.1 - @react-native-community/cli: 19.0.0 → 20.0.0 - TypeScript: 5.0.4 → 5.8.3 - Node requirement: >=18 → >=20 ### Android - Build tools: 35.0.0 → 36.0.0 - Compile/Target SDK: 35 → 36 - Kotlin: 2.0.21 → 2.1.20 - Gradle wrapper: 8.13 → 9.0.0 - Added edge-to-edge display support property ### iOS - Successfully updated Podfile.lock with new dependencies - Resolved pod dependency conflicts ### Configuration - Updated tsconfig.json to use @react-native/typescript-config - Updated .gitignore to include .kotlin/ - Removed yarn.lock (using npm) ## Testing - ✅ iOS build successful - ✅ Android build successful 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 2e0f546 commit ecc4714

File tree

10 files changed

+3613
-9976
lines changed

10 files changed

+3613
-9976
lines changed

react-native/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ local.properties
3333
.cxx/
3434
*.keystore
3535
!debug.keystore
36+
.kotlin/
3637

3738
# node.js
3839
#

react-native/android/build.gradle

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

react-native/android/gradle.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,8 @@ newArchEnabled=true
3737
# Use this property to enable or disable the Hermes JS engine.
3838
# If set to false, you will be using JSC instead.
3939
hermesEnabled=true
40+
41+
# Use this property to enable edge-to-edge display support.
42+
# This allows your app to draw behind system bars for an immersive UI.
43+
# Note: Only works with ReactActivity and should not be used with custom Activity.
44+
edgeToEdgeEnabled=false

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

react-native/ios/DittoReactNativeSampleApp/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@
4141
<string>Uses WiFi to connect and sync with nearby devices.</string>
4242
<key>NSLocationWhenInUseUsageDescription</key>
4343
<string></string>
44+
<key>RCTNewArchEnabled</key>
45+
<true/>
4446
<key>UIBackgroundModes</key>
4547
<array>
4648
<string>bluetooth-central</string>

0 commit comments

Comments
 (0)