Skip to content

Commit 8728a17

Browse files
committed
Update to latest RN
1 parent 1821d28 commit 8728a17

10 files changed

Lines changed: 731 additions & 936 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ local.properties
4141
example/.cxx/
4242
*.keystore
4343
!debug.keystore
44+
.kotlin/
4445

4546
# Bundle
4647
#

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ android {
192192
"-DUSE_SQLITE_VEC=${useSqliteVec ? 1 : 0}",
193193
"-DUSER_DEFINED_SOURCE_FILES=${sourceFiles}",
194194
"-DUSER_DEFINED_TOKENIZERS_HEADER_PATH='${tokenizersHeaderPath}'",
195-
"-DANDROID_SUPOPRT_FLEXIBLE_PAGE_SIZES=ON"
195+
"-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
196196
}
197197
}
198198

android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
OPSQLite_kotlinVersion=1.9.22
1+
OPSQLite_kotlinVersion=2.0.21

example/Gemfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@ source 'https://rubygems.org'
22

33
ruby '>= 2.7.6'
44

5-
gem 'cocoapods', '=1.16.2'
5+
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
66
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
7+
gem 'xcodeproj', '< 1.26.0'
8+
gem 'concurrent-ruby', '< 1.3.4'
9+
10+
# Ruby 3.4.0 has removed some libraries from the standard library.
711
gem 'bigdecimal'
12+
gem 'logger'
13+
gem 'benchmark'
814
gem 'mutex_m'

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()

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/metro.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ const root = path.resolve(__dirname, '..');
77

88
/**
99
* Metro configuration
10-
* https://facebook.github.io/metro/docs/configuration
10+
* https://reactnative.dev/docs/metro
1111
*
12-
* @type {import('metro-config').MetroConfig}
12+
* @type {import('@react-native/metro-config').MetroConfig}
1313
*/
1414
module.exports = getConfig(getDefaultConfig(__dirname), {
1515
root,

example/package.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"events": "^3.3.0",
2323
"mocha": "^10.7.3",
2424
"nativewind": "^2.0.11",
25-
"react": "18.3.1",
26-
"react-native": "0.76.5",
25+
"react": "19.0.0",
26+
"react-native": "0.79.2",
2727
"react-native-http-bridge-refurbished": "1.2.9",
2828
"react-native-restart": "^0.0.27",
2929
"react-native-share": "^11.0.3",
@@ -36,19 +36,18 @@
3636
"@babel/plugin-proposal-decorators": "^7.20.5",
3737
"@babel/preset-env": "^7.25.3",
3838
"@babel/runtime": "^7.25.0",
39-
"@react-native-community/cli": "15.0.1",
40-
"@react-native-community/cli-platform-android": "15.0.1",
41-
"@react-native-community/cli-platform-ios": "15.0.1",
42-
"@react-native/babel-preset": "0.76.4",
43-
"@react-native/eslint-config": "0.76.4",
44-
"@react-native/metro-config": "0.76.4",
45-
"@react-native/typescript-config": "0.76.4",
46-
"@tsconfig/react-native": "^3.0.2",
39+
"@react-native-community/cli": "18.0.0",
40+
"@react-native-community/cli-platform-android": "18.0.0",
41+
"@react-native-community/cli-platform-ios": "18.0.0",
42+
"@react-native/babel-preset": "0.79.2",
43+
"@react-native/eslint-config": "0.79.2",
44+
"@react-native/metro-config": "0.79.2",
45+
"@react-native/typescript-config": "0.79.2",
4746
"@types/chai": "^4.3.4",
4847
"@types/chance": "^1.1.3",
4948
"@types/jest": "^29.5.8",
5049
"@types/mocha": "^10.0.1",
51-
"@types/react": "^18.2.6",
50+
"@types/react": "^19.0.0",
5251
"@types/react-test-renderer": "^18.0.0",
5352
"babel-jest": "^29.6.3",
5453
"babel-plugin-module-resolver": "^4.1.0",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
"clang-format": "^1.8.0",
5050
"lefthook": "^1.5.5",
5151
"react": "18.3.1",
52-
"react-native": "0.76.5",
53-
"react-native-builder-bob": "^0.23.2",
52+
"react-native": "0.79.2",
53+
"react-native-builder-bob": "^0.40.11",
5454
"typescript": "5.0.4"
5555
},
5656
"peerDependencies": {

0 commit comments

Comments
 (0)