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.
@@ -13,5 +13,5 @@ exports.version = {
13
13
  major: 0,
14
14
  minor: 71,
15
15
  patch: 8,
16
- prerelease: '0rc2',
16
+ prerelease: '0rc4',
17
17
  };
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(71),
26
26
  RCTVersionPatch: @(8),
27
- RCTVersionPrerelease: @"0rc2",
27
+ RCTVersionPrerelease: @"0rc4",
28
28
  };
29
29
  });
30
30
  return __rnVersion;
@@ -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}")
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.71.8-0rc2
1
+ VERSION_NAME=0.71.8-0rc4
2
2
 
3
3
  # GROUP=com.facebook.react
4
4
  # Group for the TV repo
@@ -18,5 +18,5 @@ public class ReactNativeVersion {
18
18
  "major", 0,
19
19
  "minor", 71,
20
20
  "patch", 8,
21
- "prerelease", "0rc2");
21
+ "prerelease", "0rc4");
22
22
  }
@@ -18,7 +18,7 @@ constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 71;
20
20
  int32_t Patch = 8;
21
- std::string_view Prerelease = "0rc2";
21
+ std::string_view Prerelease = "0rc4";
22
22
  } ReactNativeVersion;
23
23
 
24
24
  } // namespace facebook::react
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-tvos",
3
- "version": "0.71.8-0rc2",
3
+ "version": "0.71.8-0rc4",
4
4
  "bin": "./cli.js",
5
5
  "description": "A framework for building native apps using React",
6
6
  "license": "MIT",
@@ -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 == 'React-Core'
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 == 'React-Core'
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
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "react": "18.2.0",
14
- "react-native": "npm:react-native-tvos@0.71.8-0rc2"
14
+ "react-native": "npm:react-native-tvos@0.71.8-0rc4"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.20.0",