Skip to content

Commit e8dc4c3

Browse files
committed
feat(*): upgrade to RN 0.73.4
1 parent a1c3a04 commit e8dc4c3

File tree

8 files changed

+864
-942
lines changed

8 files changed

+864
-942
lines changed

example/Gemfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ source 'https://rubygems.org'
33
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
44
ruby ">= 2.6.10"
55

6-
gem 'cocoapods', '~> 1.13'
7-
gem 'activesupport', '>= 6.1.7.3', '< 7.1.0'
6+
# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper
7+
# bound in the template on Cocoapods with next React Native release.
8+
gem 'cocoapods', '>= 1.13', '< 1.15'
9+
gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'

example/android/app/src/main/java/video/api/reactnative/livestream/example/MainApplication.kt

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ class MainApplication : Application(), ReactApplication {
1616

1717
override val reactNativeHost: ReactNativeHost =
1818
object : DefaultReactNativeHost(this) {
19-
override fun getPackages(): List<ReactPackage> {
20-
// Packages that cannot be autolinked yet can be added manually here, for example:
21-
// packages.add(new MyReactNativePackage());
22-
return PackageList(this).packages
23-
}
19+
override fun getPackages(): List<ReactPackage> =
20+
PackageList(this).packages.apply {
21+
// Packages that cannot be autolinked yet can be added manually here, for example:
22+
// add(MyReactNativePackage())
23+
}
2424

2525
override fun getJSMainModuleName(): String = "index"
2626

example/ios/Example.xcodeproj/project.pbxproj

+2-10
Original file line numberDiff line numberDiff line change
@@ -613,11 +613,7 @@
613613
"-DFOLLY_MOBILE=1",
614614
"-DFOLLY_USE_LIBCPP=1",
615615
);
616-
OTHER_LDFLAGS = (
617-
"$(inherited)",
618-
"-Wl",
619-
"-ld_classic",
620-
);
616+
OTHER_LDFLAGS = "$(inherited)";
621617
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
622618
SDKROOT = iphoneos;
623619
USE_HERMES = true;
@@ -684,11 +680,7 @@
684680
"-DFOLLY_MOBILE=1",
685681
"-DFOLLY_USE_LIBCPP=1",
686682
);
687-
OTHER_LDFLAGS = (
688-
"$(inherited)",
689-
"-Wl",
690-
"-ld_classic",
691-
);
683+
OTHER_LDFLAGS = "$(inherited)";
692684
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
693685
SDKROOT = iphoneos;
694686
USE_HERMES = true;

0 commit comments

Comments
 (0)