Skip to content

Commit 4efadbe

Browse files
committed
Update to rn 0.79
1 parent 0f646b3 commit 4efadbe

File tree

8 files changed

+1934
-461
lines changed

8 files changed

+1934
-461
lines changed

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
88
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
99
gem 'xcodeproj', '< 1.26.0'
1010
gem 'concurrent-ruby', '< 1.3.4'
11+
12+
# Ruby 3.4.0 has removed some libraries from the standard library.
13+
gem 'bigdecimal'
14+
gem 'logger'
15+
gem 'benchmark'
16+
gem 'mutex_m'
122 Bytes
Binary file not shown.

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.12-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

android/gradlew

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ fi
205205
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
206206

207207
# Collect all arguments for the java command:
208-
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
208+
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
209209
# and any embedded shellness will be escaped.
210210
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
211211
# treated as '${Hostname}' itself on the command line.

babel.config.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,7 @@ module.exports = {
1515
'@': './src/',
1616
},
1717
},
18-
'react-native-reanimated/plugin',
1918
],
19+
'react-native-reanimated/plugin',
2020
],
21-
env: {
22-
production: {
23-
plugins: ['react-native-reanimated/plugin'],
24-
},
25-
},
2621
}

bun.lock

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

ios/Tech Triangle/AppDelegate.swift

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,36 @@ import React_RCTAppDelegate
44
import ReactAppDependencyProvider
55

66
@main
7-
class AppDelegate: RCTAppDelegate {
8-
override func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
9-
self.moduleName = "Tech Triangle"
10-
self.dependencyProvider = RCTAppDependencyProvider()
7+
class AppDelegate: UIResponder, UIApplicationDelegate {
8+
var window: UIWindow?
119

12-
// You can add your custom initial props in the dictionary below.
13-
// They will be passed down to the ViewController used by React Native.
14-
self.initialProps = [:]
10+
var reactNativeDelegate: ReactNativeDelegate?
11+
var reactNativeFactory: RCTReactNativeFactory?
1512

16-
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
13+
func application(
14+
_ application: UIApplication,
15+
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
16+
) -> Bool {
17+
let delegate = ReactNativeDelegate()
18+
let factory = RCTReactNativeFactory(delegate: delegate)
19+
delegate.dependencyProvider = RCTAppDependencyProvider()
20+
21+
reactNativeDelegate = delegate
22+
reactNativeFactory = factory
23+
24+
window = UIWindow(frame: UIScreen.main.bounds)
25+
26+
factory.startReactNative(
27+
withModuleName: "Tech Triangle",
28+
in: window,
29+
launchOptions: launchOptions
30+
)
31+
32+
return true
1733
}
34+
}
1835

36+
class ReactNativeDelegate: RCTDefaultReactNativeFactoryDelegate {
1937
override func sourceURL(for bridge: RCTBridge) -> URL? {
2038
self.bundleURL()
2139
}

package.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -22,56 +22,56 @@
2222
"dependencies": {
2323
"@react-native-community/netinfo": "^11.4.1",
2424
"@react-native-masked-view/masked-view": "^0.3.2",
25-
"@react-navigation/bottom-tabs": "^7.3.8",
26-
"@react-navigation/native": "^7.1.4",
27-
"@react-navigation/stack": "^7.2.8",
28-
"@shopify/react-native-skia": "^1.12.3",
29-
"@tanstack/react-query": "^5.71.5",
25+
"@react-navigation/bottom-tabs": "^ 7.3.11",
26+
"@react-navigation/native": "^7.1.7",
27+
"@react-navigation/stack": "^7.3.0",
28+
"@shopify/react-native-skia": "^1.12.4",
29+
"@tanstack/react-query": "^5.75.2",
3030
"clsx": "^2.1.1",
31-
"hono": "^4.7.5",
31+
"hono": "^4.7.8",
3232
"lottie-react-native": "^7.2.2",
3333
"nativewind": "^4.1.23",
34-
"react": "19.0.0",
35-
"react-native": "0.78.2",
34+
"react": "^19.1.0",
35+
"react-native": "0.79.2",
3636
"react-native-device-info": "^14.0.4",
3737
"react-native-geolocation-service": "^5.3.1",
3838
"react-native-gesture-handler": "^2.25.0",
3939
"react-native-linear-gradient": "^2.8.3",
4040
"react-native-mmkv": "^3.2.0",
41-
"react-native-reanimated": "4.0.0-beta.2",
42-
"react-native-safe-area-context": "^5.3.0",
41+
"react-native-reanimated": "^3.17.5",
42+
"react-native-safe-area-context": "^5.4.0",
4343
"react-native-screens": "^4.10.0",
4444
"react-native-svg": "^15.11.2",
45-
"tailwind-merge": "^3.1.0",
46-
"zod": "^3.24.2",
47-
"zustand": "^5.0.3"
45+
"tailwind-merge": "^3.2.0",
46+
"zod": "^3.24.3",
47+
"zustand": "^5.0.4"
4848
},
4949
"devDependencies": {
50-
"@babel/core": "^7.26.10",
51-
"@babel/preset-env": "^7.26.9",
52-
"@babel/runtime": "^7.27.0",
50+
"@babel/core": "^7.27.1",
51+
"@babel/preset-env": "^7.27.1",
52+
"@babel/runtime": "^7.27.1",
5353
"@biomejs/biome": "1.9.4",
54-
"@react-native-community/cli": "15.1.3",
55-
"@react-native-community/cli-platform-android": "15.1.3",
56-
"@react-native-community/cli-platform-ios": "15.1.3",
57-
"@react-native/babel-preset": "0.78.2",
58-
"@react-native/eslint-config": "0.78.2",
59-
"@react-native/metro-config": "0.78.2",
60-
"@react-native/typescript-config": "0.78.2",
61-
"@tanstack/eslint-plugin-query": "^5.71.5",
54+
"@react-native-community/cli": "18.0.0",
55+
"@react-native-community/cli-platform-android": "18.0.0",
56+
"@react-native-community/cli-platform-ios": "18.0.0",
57+
"@react-native/babel-preset": "0.79.2",
58+
"@react-native/eslint-config": "0.79.2",
59+
"@react-native/metro-config": "0.79.2",
60+
"@react-native/typescript-config": "0.79.2",
61+
"@tanstack/eslint-plugin-query": "^5.74.7",
6262
"@types/jest": "^29.5.14",
63-
"@types/react": "^19.1.0",
63+
"@types/react": "^19.1.2",
6464
"@types/react-test-renderer": "^19.1.0",
6565
"babel-jest": "^29.7.0",
6666
"babel-plugin-module-resolver": "^5.0.2",
6767
"eslint": "^8.57.1",
6868
"jest": "^29.7.0",
6969
"prettier": "^3.5.3",
7070
"prettier-plugin-tailwindcss": "^0.6.11",
71-
"react-native-svg-transformer": "^1.5.0",
72-
"react-test-renderer": "19.0.0",
71+
"react-native-svg-transformer": "^1.5.1",
72+
"react-test-renderer": "^19.1.0",
7373
"tailwindcss": "^3.4.17",
74-
"typescript": "^5.8.2"
74+
"typescript": "^5.8.3"
7575
},
7676
"engines": {
7777
"node": ">=18"

0 commit comments

Comments
 (0)