Skip to content

Commit ffa44cd

Browse files
authored
chore: react-native 0.77 (#801)
## 📜 Description Update `react-native` to `0.77`. ## 💡 Motivation and Context To stay up-to-date with react-native ecosystem and be sure, that package supports newest RN version. ## 📢 Changelog <!-- High level overview of important changes --> <!-- For example: fixed status bar manipulation; added new types declarations; --> <!-- If your changes don't affect one of platform/language below - then remove this platform/language --> ### Docs - update compatibility table; ### E2E - update `Modal` assets for Android; ### JS - added `ios.componentProvider` field in `package.json`; ### Android - added `turbo`/`base` package for different RN versions; ## 🤔 How Has This Been Tested? Tested on iPhone 15 (iOS 17.5) and Medium Phone (API 35). ## 📸 Screenshots (if appropriate): ![image](https://github.com/user-attachments/assets/f24c024b-8685-4583-8394-dce8584fcef8) ## 📝 Checklist - [x] CI successfully passed - [x] I added new mocks and corresponding unit-tests if library API was changed
1 parent 83bd3c1 commit ffa44cd

File tree

44 files changed

+2498
-2470
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+2498
-2470
lines changed

FabricExample/Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ ruby ">= 2.6.10"
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 'xcodeproj', '< 1.26.0'
10+
gem 'concurrent-ruby', '< 1.3.4'

FabricExample/Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ 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)
110+
xcodeproj (< 1.26.0)
109111

110112
RUBY VERSION
111113
ruby 2.7.6p219

FabricExample/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ buildscript {
44
minSdkVersion = 24
55
compileSdkVersion = 35
66
targetSdkVersion = 34
7-
ndkVersion = "26.1.10909125"
8-
kotlinVersion = "1.9.24"
7+
ndkVersion = "27.1.12297006"
8+
kotlinVersion = "2.0.21"
99
}
1010
repositories {
1111
google()

FabricExample/ios/AppDelegate.swift

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
//
2+
// AppDelegate.swift
3+
// KeyboardControllerFabricExample
4+
//
5+
// Created by Kiryl Ziusko on 08/02/2025.
6+
//
7+
8+
import React
9+
import React_RCTAppDelegate
10+
import ReactAppDependencyProvider
11+
import UIKit
12+
13+
@main
14+
class AppDelegate: RCTAppDelegate {
15+
override func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil) -> Bool {
16+
moduleName = "KeyboardControllerFabricExample"
17+
dependencyProvider = RCTAppDependencyProvider()
18+
19+
// You can add your custom initial props in the dictionary below.
20+
// They will be passed down to the ViewController used by React Native.
21+
initialProps = [:]
22+
23+
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
24+
}
25+
26+
override func sourceURL(for _: RCTBridge) -> URL? {
27+
bundleURL()
28+
}
29+
30+
override func bundleURL() -> URL? {
31+
#if DEBUG
32+
RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index")
33+
#else
34+
Bundle.main.url(forResource: "main", withExtension: "jsbundle")
35+
#endif
36+
}
37+
}

FabricExample/ios/KeyboardControllerFabricExample.xcodeproj/project.pbxproj

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

FabricExample/ios/KeyboardControllerFabricExample/AppDelegate.h

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

FabricExample/ios/KeyboardControllerFabricExample/AppDelegate.mm

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

FabricExample/ios/KeyboardControllerFabricExample/main.m

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

FabricExample/ios/KeyboardControllerFabricExampleTests/Info.plist

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

FabricExample/ios/KeyboardControllerFabricExampleTests/KeyboardControllerFabricExampleTests.m

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

FabricExample/ios/Podfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ target 'KeyboardControllerFabricExample' do
2525
:app_path => "#{Pod::Config.instance.installation_root}/.."
2626
)
2727

28-
target 'KeyboardControllerFabricExampleTests' do
29-
inherit! :complete
30-
# Pods for testing
31-
end
32-
3328
post_install do |installer|
3429
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
3530
react_native_post_install(

0 commit comments

Comments
 (0)