react-native-tvos 0.76.2-0 → 0.76.3-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.
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/React/Views/RCTTVView.h +3 -8
- package/React/Views/RCTView.h +19 -0
- package/ReactAndroid/cmake-utils/ReactNative-application.cmake +2 -3
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/hermes-engine/build.gradle.kts +4 -0
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +8 -8
- package/sdks/hermesc/osx-bin/hermes +0 -0
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +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/React/Base/RCTVersion.m
CHANGED
package/React/Views/RCTTVView.h
CHANGED
|
@@ -57,18 +57,13 @@
|
|
|
57
57
|
@property (nonatomic, assign) BOOL trapFocusLeft;
|
|
58
58
|
@property (nonatomic, assign) BOOL trapFocusRight;
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
* Focus
|
|
63
|
-
*/
|
|
60
|
+
// These handlers are defined in RCTView
|
|
61
|
+
/*
|
|
64
62
|
@property (nonatomic, copy) RCTBubblingEventBlock onFocus;
|
|
65
63
|
@property (nonatomic, copy) RCTBubblingEventBlock onBlur;
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* TV Press Handlers
|
|
69
|
-
*/
|
|
70
64
|
@property (nonatomic, copy) RCTDirectEventBlock onPressIn;
|
|
71
65
|
@property (nonatomic, copy) RCTDirectEventBlock onPressOut;
|
|
66
|
+
*/
|
|
72
67
|
|
|
73
68
|
- (instancetype)initWithBridge:(RCTBridge *)bridge;
|
|
74
69
|
|
package/React/Views/RCTView.h
CHANGED
|
@@ -123,6 +123,25 @@ extern const UIAccessibilityTraits SwitchAccessibilityTrait;
|
|
|
123
123
|
|
|
124
124
|
@property (nonatomic, assign) RCTCursor cursor;
|
|
125
125
|
|
|
126
|
+
#if TARGET_OS_TV
|
|
127
|
+
// For Paper, all views on TV might have focus, blur, pressIn, pressOut handlers,
|
|
128
|
+
// so we need to add these properties here and not in RCTTVView,
|
|
129
|
+
// since some views do not inherit from RCTTVView.
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Focus
|
|
133
|
+
*/
|
|
134
|
+
@property (nonatomic, copy) RCTBubblingEventBlock onFocus;
|
|
135
|
+
@property (nonatomic, copy) RCTBubblingEventBlock onBlur;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* TV Press Handlers
|
|
139
|
+
*/
|
|
140
|
+
@property (nonatomic, copy) RCTDirectEventBlock onPressIn;
|
|
141
|
+
@property (nonatomic, copy) RCTDirectEventBlock onPressOut;
|
|
142
|
+
|
|
143
|
+
#endif // TARGET_OS_TV
|
|
144
|
+
|
|
126
145
|
/**
|
|
127
146
|
* (Experimental and unused for Paper) Pointer event handlers.
|
|
128
147
|
*/
|
|
@@ -31,9 +31,8 @@ if(CCACHE_FOUND)
|
|
|
31
31
|
endif(CCACHE_FOUND)
|
|
32
32
|
|
|
33
33
|
set(BUILD_DIR ${PROJECT_BUILD_DIR})
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
endif()
|
|
34
|
+
file(TO_CMAKE_PATH "${BUILD_DIR}" BUILD_DIR)
|
|
35
|
+
file(TO_CMAKE_PATH "${REACT_ANDROID_DIR}" REACT_ANDROID_DIR)
|
|
37
36
|
|
|
38
37
|
file(GLOB input_SRC CONFIGURE_DEPENDS
|
|
39
38
|
${REACT_ANDROID_DIR}/cmake-utils/default-app-setup/*.cpp
|
|
@@ -38,9 +38,13 @@ fun getSDKPath(): String {
|
|
|
38
38
|
fun getSDKManagerPath(): String {
|
|
39
39
|
val metaSdkManagerPath = File("${getSDKPath()}/cmdline-tools/latest/bin/sdkmanager")
|
|
40
40
|
val ossSdkManagerPath = File("${getSDKPath()}/tools/bin/sdkmanager")
|
|
41
|
+
val windowsMetaSdkManagerPath = File("${getSDKPath()}/cmdline-tools/latest/bin/sdkmanager.bat")
|
|
42
|
+
val windowsOssSdkManagerPath = File("${getSDKPath()}/tools/bin/sdkmanager.bat")
|
|
41
43
|
return when {
|
|
42
44
|
metaSdkManagerPath.exists() -> metaSdkManagerPath.absolutePath
|
|
45
|
+
windowsMetaSdkManagerPath.exists() -> windowsMetaSdkManagerPath.absolutePath
|
|
43
46
|
ossSdkManagerPath.exists() -> ossSdkManagerPath.absolutePath
|
|
47
|
+
windowsOssSdkManagerPath.exists() -> windowsOssSdkManagerPath.absolutePath
|
|
44
48
|
else -> throw GradleException("Could not find sdkmanager executable.")
|
|
45
49
|
}
|
|
46
50
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-tvos",
|
|
3
|
-
"version": "0.76.
|
|
3
|
+
"version": "0.76.3-0",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -110,13 +110,13 @@
|
|
|
110
110
|
},
|
|
111
111
|
"dependencies": {
|
|
112
112
|
"@jest/create-cache-key-function": "^29.6.3",
|
|
113
|
-
"@react-native/assets-registry": "0.76.
|
|
114
|
-
"@react-native/codegen": "0.76.
|
|
115
|
-
"@react-native/community-cli-plugin": "0.76.
|
|
116
|
-
"@react-native/gradle-plugin": "0.76.
|
|
117
|
-
"@react-native/js-polyfills": "0.76.
|
|
118
|
-
"@react-native/normalize-colors": "0.76.
|
|
119
|
-
"@react-native-tvos/virtualized-lists": "0.76.
|
|
113
|
+
"@react-native/assets-registry": "0.76.3",
|
|
114
|
+
"@react-native/codegen": "0.76.3",
|
|
115
|
+
"@react-native/community-cli-plugin": "0.76.3",
|
|
116
|
+
"@react-native/gradle-plugin": "0.76.3",
|
|
117
|
+
"@react-native/js-polyfills": "0.76.3",
|
|
118
|
+
"@react-native/normalize-colors": "0.76.3",
|
|
119
|
+
"@react-native-tvos/virtualized-lists": "0.76.3-0",
|
|
120
120
|
"abort-controller": "^3.0.0",
|
|
121
121
|
"anser": "^1.4.9",
|
|
122
122
|
"ansi-regex": "^5.0.0",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|