react-native-tvos 0.68.1-0 → 0.68.1-1
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/README.md +2 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/android/com/facebook/react/react-native/{0.68.1-0/react-native-0.68.1-0-sources.jar → 0.68.1-1/react-native-0.68.1-1-sources.jar} +0 -0
- package/android/com/facebook/react/react-native/{0.68.1-0/react-native-0.68.1-0-sources.jar.md5 → 0.68.1-1/react-native-0.68.1-1-sources.jar.md5} +0 -0
- package/android/com/facebook/react/react-native/{0.68.1-0/react-native-0.68.1-0-sources.jar.sha1 → 0.68.1-1/react-native-0.68.1-1-sources.jar.sha1} +0 -0
- package/android/com/facebook/react/react-native/{0.68.1-0/react-native-0.68.1-0-sources.jar.sha256 → 0.68.1-1/react-native-0.68.1-1-sources.jar.sha256} +0 -0
- package/android/com/facebook/react/react-native/{0.68.1-0/react-native-0.68.1-0-sources.jar.sha512 → 0.68.1-1/react-native-0.68.1-1-sources.jar.sha512} +0 -0
- package/android/com/facebook/react/react-native/{0.68.1-0/react-native-0.68.1-0.aar → 0.68.1-1/react-native-0.68.1-1.aar} +0 -0
- package/android/com/facebook/react/react-native/{0.68.1-0/react-native-0.68.1-0.aar.md5 → 0.68.1-1/react-native-0.68.1-1.aar.md5} +0 -0
- package/android/com/facebook/react/react-native/{0.68.1-0/react-native-0.68.1-0.aar.sha1 → 0.68.1-1/react-native-0.68.1-1.aar.sha1} +0 -0
- package/android/com/facebook/react/react-native/{0.68.1-0/react-native-0.68.1-0.aar.sha256 → 0.68.1-1/react-native-0.68.1-1.aar.sha256} +0 -0
- package/android/com/facebook/react/react-native/{0.68.1-0/react-native-0.68.1-0.aar.sha512 → 0.68.1-1/react-native-0.68.1-1.aar.sha512} +0 -0
- package/android/com/facebook/react/react-native/{0.68.1-0/react-native-0.68.1-0.module → 0.68.1-1/react-native-0.68.1-1.module} +5 -5
- package/android/com/facebook/react/react-native/0.68.1-1/react-native-0.68.1-1.module.md5 +1 -0
- package/android/com/facebook/react/react-native/0.68.1-1/react-native-0.68.1-1.module.sha1 +1 -0
- package/android/com/facebook/react/react-native/0.68.1-1/react-native-0.68.1-1.module.sha256 +1 -0
- package/android/com/facebook/react/react-native/0.68.1-1/react-native-0.68.1-1.module.sha512 +1 -0
- package/android/com/facebook/react/react-native/{0.68.1-0/react-native-0.68.1-0.pom → 0.68.1-1/react-native-0.68.1-1.pom} +1 -1
- package/android/com/facebook/react/react-native/0.68.1-1/react-native-0.68.1-1.pom.md5 +1 -0
- package/android/com/facebook/react/react-native/0.68.1-1/react-native-0.68.1-1.pom.sha1 +1 -0
- package/android/com/facebook/react/react-native/0.68.1-1/react-native-0.68.1-1.pom.sha256 +1 -0
- package/android/com/facebook/react/react-native/0.68.1-1/react-native-0.68.1-1.pom.sha512 +1 -0
- package/android/com/facebook/react/react-native/maven-metadata.xml +4 -4
- package/android/com/facebook/react/react-native/maven-metadata.xml.md5 +1 -1
- package/android/com/facebook/react/react-native/maven-metadata.xml.sha1 +1 -1
- package/android/com/facebook/react/react-native/maven-metadata.xml.sha256 +1 -1
- package/android/com/facebook/react/react-native/maven-metadata.xml.sha512 +1 -1
- package/package.json +1 -1
- package/template/package.json +1 -1
- package/tvos-types.d.ts +23 -18
- package/android/com/facebook/react/react-native/0.68.1-0/react-native-0.68.1-0.module.md5 +0 -1
- package/android/com/facebook/react/react-native/0.68.1-0/react-native-0.68.1-0.module.sha1 +0 -1
- package/android/com/facebook/react/react-native/0.68.1-0/react-native-0.68.1-0.module.sha256 +0 -1
- package/android/com/facebook/react/react-native/0.68.1-0/react-native-0.68.1-0.module.sha512 +0 -1
- package/android/com/facebook/react/react-native/0.68.1-0/react-native-0.68.1-0.pom.md5 +0 -1
- package/android/com/facebook/react/react-native/0.68.1-0/react-native-0.68.1-0.pom.sha1 +0 -1
- package/android/com/facebook/react/react-native/0.68.1-0/react-native-0.68.1-0.pom.sha256 +0 -1
- package/android/com/facebook/react/react-native/0.68.1-0/react-native-0.68.1-0.pom.sha512 +0 -1
package/README.md
CHANGED
|
@@ -28,6 +28,7 @@ Notes:
|
|
|
28
28
|
- _Apple TV_: `pod install` will pick up the additional pods needed for the new architecture.
|
|
29
29
|
- _Android TV_: Enabling the new architecture will cause your app to be built from React Native sources, including C++ sources, so you will need the NDK and the build will take much longer.
|
|
30
30
|
- _Third party libraries_: As of this moment, third party libraries have not all enabled support for the new architecture.
|
|
31
|
+
- _Bugs_: There are some issues with interactions between Apple TV parallax properties implementation and the new renderer. TabBarIOS has not been reimplemented in the new architecture so it will show up as an "unimplemented component".
|
|
31
32
|
|
|
32
33
|
### Typescript
|
|
33
34
|
|
|
@@ -182,7 +183,7 @@ class Game2048 extends React.Component {
|
|
|
182
183
|
|
|
183
184
|
- _Turbomodules_: Working as of the 0.61.2-0 release.
|
|
184
185
|
|
|
185
|
-
- _Flipper_: Working in the 0.62.2-x releases. Working in the 0.63.x releases; however, tvOS requires the Flipper pods from 0.62.2-x. `scripts/react_native_pods.rb` contains macros for both versions. The new project template Podfile is correctly set up to provide the older Flipper for both iOS and tvOS targets. In 0.64.x, Flipper support
|
|
186
|
+
- _Flipper_: Working in the 0.62.2-x releases. Working in the 0.63.x releases; however, tvOS requires the Flipper pods from 0.62.2-x. `scripts/react_native_pods.rb` contains macros for both versions. The new project template Podfile is correctly set up to provide the older Flipper for both iOS and tvOS targets. In 0.64.x and later, Flipper support is removed until issues can be resolved with newer Xcode versions.
|
|
186
187
|
|
|
187
188
|
- _Hermes for tvOS_: RN core added support for the Hermes JS engine on iOS in 0.64. tvOS does not yet have this, as it will require significant additions to the Hermes build structure.
|
|
188
189
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "com.facebook.react",
|
|
5
5
|
"module": "react-native",
|
|
6
|
-
"version": "0.68.1-
|
|
6
|
+
"version": "0.68.1-1",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -131,8 +131,8 @@
|
|
|
131
131
|
],
|
|
132
132
|
"files": [
|
|
133
133
|
{
|
|
134
|
-
"name": "react-native-0.68.1-
|
|
135
|
-
"url": "react-native-0.68.1-
|
|
134
|
+
"name": "react-native-0.68.1-1.aar",
|
|
135
|
+
"url": "react-native-0.68.1-1.aar",
|
|
136
136
|
"size": 16399352,
|
|
137
137
|
"sha512": "ad85e1cec19d8e898d2d138f6d5c6eca1fc409b26137866a4848aea5b1888f6e278ca772404477d21fb740dd7e78eb73f21ba78122d2625006b2e9b77fcb615f",
|
|
138
138
|
"sha256": "eeaf129e2bcb06fd7da630d18b6a24c2adc1f51144594bba59c27567bd6b9f75",
|
|
@@ -258,8 +258,8 @@
|
|
|
258
258
|
],
|
|
259
259
|
"files": [
|
|
260
260
|
{
|
|
261
|
-
"name": "react-native-0.68.1-
|
|
262
|
-
"url": "react-native-0.68.1-
|
|
261
|
+
"name": "react-native-0.68.1-1.aar",
|
|
262
|
+
"url": "react-native-0.68.1-1.aar",
|
|
263
263
|
"size": 16399352,
|
|
264
264
|
"sha512": "ad85e1cec19d8e898d2d138f6d5c6eca1fc409b26137866a4848aea5b1888f6e278ca772404477d21fb740dd7e78eb73f21ba78122d2625006b2e9b77fcb615f",
|
|
265
265
|
"sha256": "eeaf129e2bcb06fd7da630d18b6a24c2adc1f51144594bba59c27567bd6b9f75",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
dabc50626c27924cbc3f37213d4bd7af
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
325bb8ccb937702ee7c22ec2418f081fa3108f0b
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
8c5be7999d78abbe493e579bfdc12b5b68868a692ca99f0e20b4986bc5dd62e4
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
02e7eb4b960e9c3645447fadd2ea98ecdc91f0faba38bdcefcdbfb80ccbed6e68ccdec8241446db3d7a5c4dee96bf516f111c26f03c573618befcbf2ccdfd628
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>com.facebook.react</groupId>
|
|
11
11
|
<artifactId>react-native</artifactId>
|
|
12
|
-
<version>0.68.1-
|
|
12
|
+
<version>0.68.1-1</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>ReactNative</name>
|
|
15
15
|
<description>A framework for building native apps with React</description>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
43d73ba4911605bb592b8d5d10eb2f1c
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ebf60f3b3e6b3efd24b6a181ac83cf42a8242227
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4f146d7c8474ecf2a300c47bfb3efbfb7e25d9cb6f2fbf89a94b90bbac4daa9b
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
987cd97db9f6b5621a3ab611565c83eec867007fbdeeeb5e9fc26ab45ed43dd96f707e858be97381498700eb5ca18564999728211598294c865f59c77e864771
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>com.facebook.react</groupId>
|
|
4
4
|
<artifactId>react-native</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>0.68.1-
|
|
7
|
-
<release>0.68.1-
|
|
6
|
+
<latest>0.68.1-1</latest>
|
|
7
|
+
<release>0.68.1-1</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>0.68.1-
|
|
9
|
+
<version>0.68.1-1</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20220420202109</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
58fc9f9d38c3be18e79ddf4cd9982974
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
489e4d2692d1c01e4f598f5212b101b400e603a9
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b0b1a1ffe50fd9faddcddbd1f1124ebc68765e3a21dd4fccf96709b9a664ae44
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
130371781a3f496fc715f9eb4b4b742401520ba8f4e104a464e326eed718784a5e16ed62b7ccf1f970ea6410d493595aa584af36238ae0a1ddd5d267f59675a1
|
package/package.json
CHANGED
package/template/package.json
CHANGED
package/tvos-types.d.ts
CHANGED
|
@@ -31,31 +31,32 @@ declare module 'react-native' {
|
|
|
31
31
|
nextFocusUp?: number,
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export const useTVEventHandler: (handleEvent: (event:
|
|
34
|
+
export const useTVEventHandler: (handleEvent: (event: HWEvent) => void) => void;
|
|
35
35
|
|
|
36
|
-
export const
|
|
36
|
+
export const TVEventControl: {
|
|
37
37
|
enableTVMenuKey(): void;
|
|
38
38
|
disableTVMenuKey(): void;
|
|
39
|
+
enableTVPanGesture(): void;
|
|
40
|
+
disableTVPanGesture(): void;
|
|
39
41
|
};
|
|
40
42
|
|
|
41
|
-
|
|
42
|
-
eventType: 'blur' | 'focus';
|
|
43
|
-
eventKeyAction
|
|
44
|
-
tag
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
};
|
|
43
|
+
export type HWEvent = {
|
|
44
|
+
eventType: 'up' | 'down' | 'right' | 'left' | 'blur' | 'focus' | 'pan' | string;
|
|
45
|
+
eventKeyAction?: -1 | 1 | 0 | number;
|
|
46
|
+
tag?: number;
|
|
47
|
+
body?: {
|
|
48
|
+
state: "Began" | "Changed" | "Ended",
|
|
49
|
+
x: number,
|
|
50
|
+
y: number,
|
|
51
|
+
velocityx: number,
|
|
52
|
+
velocityy: number
|
|
53
|
+
}
|
|
54
|
+
};
|
|
54
55
|
|
|
55
56
|
export class TVEventHandler {
|
|
56
57
|
enable<T extends React.Component<unknown>>(
|
|
57
58
|
component?: T,
|
|
58
|
-
callback?: (component: T, data:
|
|
59
|
+
callback?: (component: T, data: HWEvent) => void
|
|
59
60
|
): void;
|
|
60
61
|
disable(): void;
|
|
61
62
|
}
|
|
@@ -103,12 +104,16 @@ declare module 'react-native' {
|
|
|
103
104
|
/**
|
|
104
105
|
* Called when the scroller comes into focus (e.g. for highlighting)
|
|
105
106
|
*/
|
|
106
|
-
onFocus?(evt:
|
|
107
|
+
onFocus?(evt: HWEvent): void;
|
|
107
108
|
/**
|
|
108
109
|
* Called when the scroller goes out of focus
|
|
109
110
|
*/
|
|
110
|
-
onBlur?(evt:
|
|
111
|
+
onBlur?(evt: HWEvent): void;
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
export class TVTextScrollView extends React.Component<TVTextScrollViewProps> {}
|
|
115
|
+
|
|
116
|
+
export interface PressableStateCallbackType {
|
|
117
|
+
readonly focused: boolean;
|
|
118
|
+
}
|
|
114
119
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
b51090965a4962303b28e544d74d1171
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
61f16a7880116a37a073d138b8793df0ab749ab8
|
package/android/com/facebook/react/react-native/0.68.1-0/react-native-0.68.1-0.module.sha256
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
97ad75b46df27ecc1e84054206e3444d9e06b68dea2b3c05588abaefcabbecea
|
package/android/com/facebook/react/react-native/0.68.1-0/react-native-0.68.1-0.module.sha512
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
c524c27d9377773c8f35d46ac13645b5a52f2c079c43d301e9c446b4306b123d51d972cdd0ba07cf66de5c8816ca2c0d5975fb926bd46f70e8d905adf563a217
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
381bcb169a745e481e55f5e062c2ec48
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
da6ab1159eb4999f5cc03ca86812866a840b52be
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
321eb17df316aad8ca94a1628f7d6ef867cc8c0dca9f81d85064ecd7d979e3f3
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d1afa19f14fcafcc2b2fb7f26c7e2669b0a46e2ffb357b8faee0e9a791a7d70acb092759da3b4523cacaa779eaa21998e430f143a5e5eb53d5b308bbf98800c1
|