react-native-tvos 0.71.8-0rc2 → 0.71.8-0rc4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +3 -1
- package/ReactAndroid/build.gradle +4 -0
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +1 -1
- package/scripts/cocoapods/new_architecture.rb +2 -2
- package/scripts/cocoapods/utils.rb +1 -0
- package/sdks/hermes-engine/utils/build-apple-framework.sh +8 -5
- package/sdks/hermesc/linux64-bin/hermesc +0 -0
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
- package/sdks/hermesc/win64-bin/icudt64.dll +0 -0
- package/sdks/hermesc/win64-bin/icuin64.dll +0 -0
- package/sdks/hermesc/win64-bin/icuio64.dll +0 -0
- package/sdks/hermesc/win64-bin/icutest64.dll +0 -0
- package/sdks/hermesc/win64-bin/icutu64.dll +0 -0
- package/sdks/hermesc/win64-bin/icuuc64.dll +0 -0
- package/sdks/hermesc/win64-bin/msvcp140.dll +0 -0
- package/sdks/hermesc/win64-bin/vcruntime140.dll +0 -0
- package/sdks/hermesc/win64-bin/vcruntime140_1.dll +0 -0
- package/template/package.json +1 -1
package/React/Base/RCTVersion.m
CHANGED
|
@@ -1029,8 +1029,10 @@ using namespace facebook::react;
|
|
|
1029
1029
|
if ([_propKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN containsObject:@"opacity"]) {
|
|
1030
1030
|
self.layer.opacity = (float)props.opacity;
|
|
1031
1031
|
}
|
|
1032
|
-
|
|
1032
|
+
|
|
1033
|
+
#if TARGET_OS_TV
|
|
1033
1034
|
[self removeFocusGuide];
|
|
1035
|
+
#endif
|
|
1034
1036
|
|
|
1035
1037
|
_propKeysManagedByAnimated_DO_NOT_USE_THIS_IS_BROKEN = nil;
|
|
1036
1038
|
_eventEmitter.reset();
|
|
@@ -539,6 +539,8 @@ android {
|
|
|
539
539
|
// that will include the necessary .so files to load.
|
|
540
540
|
exclude("**/libhermes.so")
|
|
541
541
|
exclude("**/libjsc.so")
|
|
542
|
+
exclude "**/libc++_shared.so"
|
|
543
|
+
exclude "**/libfbjni.so"
|
|
542
544
|
}
|
|
543
545
|
|
|
544
546
|
buildFeatures {
|
|
@@ -666,6 +668,8 @@ dependencies {
|
|
|
666
668
|
// Therefore hermes-engine is a compileOnly dependency.
|
|
667
669
|
compileOnly(project(":ReactAndroid:hermes-engine"))
|
|
668
670
|
|
|
671
|
+
implementation("com.facebook.fbjni:fbjni:0.3.0")
|
|
672
|
+
|
|
669
673
|
testImplementation("junit:junit:${JUNIT_VERSION}")
|
|
670
674
|
testImplementation("org.assertj:assertj-core:${ASSERTJ_VERSION}")
|
|
671
675
|
testImplementation("org.mockito:mockito-core:${MOCKITO_CORE_VERSION}")
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ class NewArchitectureHelper
|
|
|
16
16
|
language_standard = nil
|
|
17
17
|
|
|
18
18
|
installer.pods_project.targets.each do |target|
|
|
19
|
-
if target.name
|
|
19
|
+
if target.name.include? 'React-Core'
|
|
20
20
|
language_standard = target.resolved_build_setting("CLANG_CXX_LANGUAGE_STANDARD", resolve_against_xcconfig: true).values[0]
|
|
21
21
|
end
|
|
22
22
|
end
|
|
@@ -54,7 +54,7 @@ class NewArchitectureHelper
|
|
|
54
54
|
|
|
55
55
|
# Add RCT_NEW_ARCH_ENABLED to generated pod target projects
|
|
56
56
|
installer.target_installation_results.pod_target_installation_results.each do |pod_name, target_installation_result|
|
|
57
|
-
if pod_name
|
|
57
|
+
if pod_name.include? 'React-Core'
|
|
58
58
|
target_installation_result.native_target.build_configurations.each do |config|
|
|
59
59
|
config.build_settings['OTHER_CPLUSPLUSFLAGS'] = @@new_arch_cpp_flags
|
|
60
60
|
end
|
|
@@ -66,6 +66,7 @@ class ReactNativePodsUtils
|
|
|
66
66
|
projects.each do |project|
|
|
67
67
|
project.build_configurations.each do |config|
|
|
68
68
|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = excluded_archs_default
|
|
69
|
+
config.build_settings["EXCLUDED_ARCHS[sdk=appletvsimulator*]"] = excluded_archs_default
|
|
69
70
|
end
|
|
70
71
|
|
|
71
72
|
project.save()
|
|
@@ -58,11 +58,14 @@ function build_host_hermesc {
|
|
|
58
58
|
function configure_apple_framework {
|
|
59
59
|
local build_cli_tools enable_bitcode enable_debugger cmake_build_type
|
|
60
60
|
|
|
61
|
-
if [[ $1 == appletvos || $1 == iphoneos || $1 == catalyst ]]; then
|
|
62
|
-
enable_bitcode="true"
|
|
63
|
-
else
|
|
64
|
-
enable_bitcode="false"
|
|
65
|
-
fi
|
|
61
|
+
# if [[ $1 == appletvos || $1 == iphoneos || $1 == catalyst ]]; then
|
|
62
|
+
# enable_bitcode="true"
|
|
63
|
+
# else
|
|
64
|
+
# enable_bitcode="false"
|
|
65
|
+
# fi
|
|
66
|
+
#
|
|
67
|
+
# Xcode 14 deprecates bitcode, so we turn this off
|
|
68
|
+
enable_bitcode="false"
|
|
66
69
|
if [[ $1 == macosx ]]; then
|
|
67
70
|
build_cli_tools="true"
|
|
68
71
|
else
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|