Skip to content

Commit 9c30349

Browse files
author
Sean Henry
committed
Upgrades react native to 0.77
1 parent 6a517cc commit 9c30349

File tree

27 files changed

+4029
-4260
lines changed

27 files changed

+4029
-4260
lines changed

examples/Example/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ ruby "3.3.5"
66
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
77
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
88
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
9+
gem 'concurrent-ruby', '< 1.3.4'
910
gem 'xcodeproj', '< 1.26.0'

examples/Example/Gemfile.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ GEM
6363
netrc (~> 0.11)
6464
cocoapods-try (1.2.0)
6565
colored2 (3.1.2)
66-
concurrent-ruby (1.3.4)
66+
concurrent-ruby (1.3.3)
6767
connection_pool (2.4.1)
6868
drb (2.2.1)
6969
escape (0.0.4)
@@ -106,6 +106,7 @@ PLATFORMS
106106
DEPENDENCIES
107107
activesupport (>= 6.1.7.5, != 7.1.0)
108108
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
109+
concurrent-ruby (< 1.3.4)
109110
xcodeproj (< 1.26.0)
110111

111112
RUBY VERSION

examples/Example/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ buildscript {
1212
minSdkVersion = 27
1313
compileSdkVersion = 35
1414
targetSdkVersion = 34
15-
ndkVersion = "26.1.10909125"
16-
kotlinVersion = "1.9.24"
15+
ndkVersion = "27.1.12297006"
16+
kotlinVersion = "2.0.21"
1717
}
1818
repositories {
1919
google()

examples/Example/ios/Example.xcodeproj/project.pbxproj

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

examples/Example/ios/Example/AppDelegate.h

Lines changed: 0 additions & 6 deletions
This file was deleted.

examples/Example/ios/Example/AppDelegate.mm

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import UIKit
2+
import React
3+
import React_RCTAppDelegate
4+
import ReactAppDependencyProvider
5+
6+
@main
7+
class AppDelegate: RCTAppDelegate {
8+
override func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
9+
self.moduleName = "Example"
10+
self.dependencyProvider = RCTAppDependencyProvider()
11+
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 = [:]
15+
16+
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
17+
}
18+
19+
override func sourceURL(for bridge: RCTBridge) -> URL? {
20+
self.bundleURL()
21+
}
22+
23+
override func bundleURL() -> URL? {
24+
#if DEBUG
25+
RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index")
26+
#else
27+
Bundle.main.url(forResource: "main", withExtension: "jsbundle")
28+
#endif
29+
}
30+
}

examples/Example/ios/Example/main.m

Lines changed: 0 additions & 10 deletions
This file was deleted.

examples/Example/ios/ExampleTests/ExampleTests.m

Lines changed: 0 additions & 66 deletions
This file was deleted.

examples/Example/ios/ExampleTests/Info.plist

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)