react-native-tvos 0.74.3-0 → 0.74.5-0

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.
Files changed (77) hide show
  1. package/Libraries/AppDelegate/React-RCTAppDelegate.podspec +2 -2
  2. package/Libraries/Blob/React-RCTBlob.podspec +1 -1
  3. package/Libraries/Core/ReactNativeVersion.js +1 -1
  4. package/Libraries/Image/RCTImageLoader.mm +2 -6
  5. package/Libraries/Image/React-RCTImage.podspec +1 -1
  6. package/Libraries/LinkingIOS/React-RCTLinking.podspec +1 -1
  7. package/Libraries/NativeAnimation/React-RCTAnimation.podspec +1 -1
  8. package/Libraries/Network/RCTNetworkTask.mm +4 -3
  9. package/Libraries/Network/React-RCTNetwork.podspec +1 -1
  10. package/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +1 -1
  11. package/Libraries/Settings/React-RCTSettings.podspec +1 -1
  12. package/Libraries/Text/React-RCTText.podspec +1 -1
  13. package/Libraries/Text/TextInput/RCTBaseTextInputView.mm +0 -13
  14. package/Libraries/TypeSafety/RCTTypeSafety.podspec +1 -1
  15. package/Libraries/Vibration/React-RCTVibration.podspec +1 -1
  16. package/README.md +2 -0
  17. package/React/Base/RCTVersion.m +1 -1
  18. package/React/CoreModules/React-CoreModules.podspec +1 -1
  19. package/React/React-RCTFabric.podspec +1 -1
  20. package/React/Views/RCTComponentData.m +11 -3
  21. package/React-Core.podspec +1 -1
  22. package/ReactAndroid/api/ReactAndroid.api +0 -9
  23. package/ReactAndroid/gradle.properties +1 -1
  24. package/ReactAndroid/publish.gradle +56 -39
  25. package/ReactAndroid/src/main/java/com/facebook/react/common/build/ReactBuildConfig.java +23 -0
  26. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
  27. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactAccessibilityDelegate.java +9 -0
  28. package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputKeyPressEvent.java +1 -1
  29. package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputManager.java +0 -5
  30. package/ReactApple/Libraries/RCTFoundation/RCTDeprecation/RCTDeprecation.podspec +1 -1
  31. package/ReactCommon/React-Fabric.podspec +1 -1
  32. package/ReactCommon/React-FabricImage.podspec +1 -1
  33. package/ReactCommon/React-Mapbuffer.podspec +1 -1
  34. package/ReactCommon/React-nativeconfig.podspec +1 -1
  35. package/ReactCommon/React-rncore.podspec +1 -1
  36. package/ReactCommon/ReactCommon.podspec +1 -1
  37. package/ReactCommon/cxxreact/React-cxxreact.podspec +1 -1
  38. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  39. package/ReactCommon/hermes/React-hermes.podspec +1 -1
  40. package/ReactCommon/hermes/executor/React-jsitracing.podspec +1 -1
  41. package/ReactCommon/jserrorhandler/React-jserrorhandler.podspec +1 -1
  42. package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +1 -1
  43. package/ReactCommon/jsinspector-modern/React-jsinspector.podspec +1 -1
  44. package/ReactCommon/react/debug/React-debug.podspec +1 -1
  45. package/ReactCommon/react/featureflags/React-featureflags.podspec +1 -1
  46. package/ReactCommon/react/nativemodule/core/platform/ios/React-NativeModulesApple.podspec +1 -1
  47. package/ReactCommon/react/nativemodule/samples/ReactCommon-Samples.podspec +1 -1
  48. package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.mm +4 -3
  49. package/ReactCommon/react/renderer/debug/React-rendererdebug.podspec +1 -1
  50. package/ReactCommon/react/renderer/graphics/React-graphics.podspec +1 -1
  51. package/ReactCommon/react/renderer/imagemanager/platform/ios/React-ImageManager.podspec +1 -1
  52. package/ReactCommon/react/renderer/runtimescheduler/React-runtimescheduler.podspec +1 -1
  53. package/ReactCommon/react/runtime/React-RuntimeCore.podspec +1 -1
  54. package/ReactCommon/react/runtime/React-RuntimeHermes.podspec +1 -1
  55. package/ReactCommon/react/runtime/platform/ios/React-RuntimeApple.podspec +1 -1
  56. package/ReactCommon/react/utils/React-utils.podspec +1 -1
  57. package/ReactCommon/reactperflogger/React-perflogger.podspec +1 -1
  58. package/package.json +9 -9
  59. package/scripts/cocoapods/helpers.rb +4 -0
  60. package/scripts/cocoapods/new_architecture.rb +10 -23
  61. package/scripts/cocoapods/privacy_manifest_utils.rb +11 -5
  62. package/scripts/cocoapods/utils.rb +12 -1
  63. package/scripts/react_native_pods.rb +4 -0
  64. package/scripts/react_native_pods_utils/script_phases.sh +1 -1
  65. package/sdks/hermes-engine/hermes-engine.podspec +2 -1
  66. package/sdks/hermes-engine/utils/build-apple-framework.sh +11 -14
  67. package/sdks/hermes-engine/utils/build-hermes-xcode.sh +11 -5
  68. package/sdks/hermes-engine/utils/build-ios-framework.sh +17 -8
  69. package/sdks/hermes-engine/utils/create-dummy-hermes-xcframework.sh +1 -1
  70. package/sdks/hermesc/osx-bin/hermes +0 -0
  71. package/sdks/hermesc/osx-bin/hermesc +0 -0
  72. package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
  73. package/template/package.json +5 -5
  74. package/third-party-podspecs/RCT-Folly.podspec +1 -1
  75. package/third-party-podspecs/fmt.podspec +1 -1
  76. package/types/public/ReactNativeTVTypes.d.ts +4 -0
  77. package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactTextInputEvent.java +0 -70
@@ -13,16 +13,16 @@
13
13
  "dependencies": {
14
14
  "expo": "^51.0.17",
15
15
  "react": "18.2.0",
16
- "react-native": "npm:react-native-tvos@0.74.3-0"
16
+ "react-native": "npm:react-native-tvos@0.74.5-0"
17
17
  },
18
18
  "devDependencies": {
19
19
  "@babel/core": "^7.20.0",
20
20
  "@babel/preset-env": "^7.20.0",
21
21
  "@babel/runtime": "^7.20.0",
22
- "@react-native/babel-preset": "0.74.85",
23
- "@react-native/eslint-config": "0.74.85",
24
- "@react-native/metro-config": "0.74.85",
25
- "@react-native/typescript-config": "0.74.85",
22
+ "@react-native/babel-preset": "0.74.87",
23
+ "@react-native/eslint-config": "0.74.87",
24
+ "@react-native/metro-config": "0.74.87",
25
+ "@react-native/typescript-config": "0.74.87",
26
26
  "@types/react": "^18.2.6",
27
27
  "@types/react-test-renderer": "^18.0.0",
28
28
  "babel-jest": "^29.6.3",
@@ -82,7 +82,7 @@ Pod::Spec.new do |spec|
82
82
  spec.libraries = "c++abi" # NOTE Apple-only: Keep c++abi here due to https://github.com/react-native-community/releases/issues/251
83
83
  spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
84
84
  "DEFINES_MODULE" => "YES",
85
- "CLANG_CXX_LANGUAGE_STANDARD" => "c++20",
85
+ "CLANG_CXX_LANGUAGE_STANDARD" => rct_cxx_language_standard(),
86
86
  "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/fmt/include\"",
87
87
  # In dynamic framework (use_frameworks!) mode, ignore the unused and undefined boost symbols when generating the library.
88
88
  "OTHER_LDFLAGS" => "\"-Wl,-U,_jump_fcontext\" \"-Wl,-U,_make_fcontext\""
@@ -15,7 +15,7 @@ Pod::Spec.new do |spec|
15
15
  :tag => "9.1.0"
16
16
  }
17
17
  spec.pod_target_xcconfig = {
18
- "CLANG_CXX_LANGUAGE_STANDARD" => "c++20",
18
+ "CLANG_CXX_LANGUAGE_STANDARD" => rct_cxx_language_standard(),
19
19
  }
20
20
  spec.platforms = min_supported_versions
21
21
  spec.libraries = "c++"
@@ -3,6 +3,10 @@ import type { View, ScrollViewProps, HostComponent, TVParallaxProperties, EventS
3
3
 
4
4
  declare module 'react-native' {
5
5
  interface ViewProps {
6
+ /**
7
+ * Android TV only prop
8
+ */
9
+ tvFocusable?: boolean | undefined,
6
10
  /**
7
11
  * TV next focus down (see documentation for the View component).
8
12
  */
@@ -1,70 +0,0 @@
1
- /*
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- package com.facebook.react.views.textinput;
9
-
10
- import androidx.annotation.Nullable;
11
- import com.facebook.react.bridge.Arguments;
12
- import com.facebook.react.bridge.WritableMap;
13
- import com.facebook.react.uimanager.common.ViewUtil;
14
- import com.facebook.react.uimanager.events.Event;
15
-
16
- /**
17
- * Event emitted by EditText native view when text changes. VisibleForTesting from {@link
18
- * TextInputEventsTestCase}.
19
- */
20
- public class ReactTextInputEvent extends Event<ReactTextInputEvent> {
21
-
22
- public static final String EVENT_NAME = "topTextInput";
23
-
24
- private String mText;
25
- private String mPreviousText;
26
- private int mRangeStart;
27
- private int mRangeEnd;
28
-
29
- @Deprecated
30
- public ReactTextInputEvent(
31
- int viewId, String text, String previousText, int rangeStart, int rangeEnd) {
32
- this(ViewUtil.NO_SURFACE_ID, viewId, text, previousText, rangeStart, rangeEnd);
33
- }
34
-
35
- public ReactTextInputEvent(
36
- int surfaceId, int viewId, String text, String previousText, int rangeStart, int rangeEnd) {
37
- super(surfaceId, viewId);
38
- mText = text;
39
- mPreviousText = previousText;
40
- mRangeStart = rangeStart;
41
- mRangeEnd = rangeEnd;
42
- }
43
-
44
- @Override
45
- public String getEventName() {
46
- return EVENT_NAME;
47
- }
48
-
49
- @Override
50
- public boolean canCoalesce() {
51
- // We don't want to miss any textinput event, as event data is incremental.
52
- return false;
53
- }
54
-
55
- @Nullable
56
- @Override
57
- protected WritableMap getEventData() {
58
- WritableMap eventData = Arguments.createMap();
59
- WritableMap range = Arguments.createMap();
60
- range.putDouble("start", mRangeStart);
61
- range.putDouble("end", mRangeEnd);
62
-
63
- eventData.putString("text", mText);
64
- eventData.putString("previousText", mPreviousText);
65
- eventData.putMap("range", range);
66
-
67
- eventData.putInt("target", getViewTag());
68
- return eventData;
69
- }
70
- }