react-native-tvos 0.64.2-4 → 0.64.2-5

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 (49) hide show
  1. package/Libraries/Components/Touchable/TouchableHighlight.js +1 -1
  2. package/README.md +1 -1
  3. package/ReactAndroid/gradle.properties +1 -1
  4. package/ReactAndroid/src/main/java/com/facebook/react/modules/core/ReactAndroidHWInputDeviceHelper.java +30 -2
  5. package/ReactCommon/react/renderer/components/rncore/ComponentDescriptors.h +32 -0
  6. package/ReactCommon/react/renderer/components/rncore/ComponentDescriptors.h.bak +32 -0
  7. package/ReactCommon/react/renderer/components/rncore/EventEmitters.cpp +149 -0
  8. package/ReactCommon/react/renderer/components/rncore/EventEmitters.cpp.bak +149 -0
  9. package/ReactCommon/react/renderer/components/rncore/EventEmitters.h +237 -0
  10. package/ReactCommon/react/renderer/components/rncore/EventEmitters.h.bak +237 -0
  11. package/ReactCommon/react/renderer/components/rncore/Props.cpp +218 -0
  12. package/ReactCommon/react/renderer/components/rncore/Props.cpp.bak +218 -0
  13. package/ReactCommon/react/renderer/components/rncore/Props.h +576 -0
  14. package/ReactCommon/react/renderer/components/rncore/Props.h.bak +576 -0
  15. package/ReactCommon/react/renderer/components/rncore/RCTComponentViewHelpers.h +273 -0
  16. package/ReactCommon/react/renderer/components/rncore/RCTComponentViewHelpers.h.bak +273 -0
  17. package/ReactCommon/react/renderer/components/rncore/ShadowNodes.cpp +29 -0
  18. package/ReactCommon/react/renderer/components/rncore/ShadowNodes.cpp.bak +29 -0
  19. package/ReactCommon/react/renderer/components/rncore/ShadowNodes.h +126 -0
  20. package/ReactCommon/react/renderer/components/rncore/ShadowNodes.h.bak +126 -0
  21. package/android/com/facebook/react/react-native/{0.64.2-4/react-native-0.64.2-4-sources.jar → 0.64.2-5/react-native-0.64.2-5-sources.jar} +0 -0
  22. package/android/com/facebook/react/react-native/0.64.2-5/react-native-0.64.2-5-sources.jar.md5 +1 -0
  23. package/android/com/facebook/react/react-native/0.64.2-5/react-native-0.64.2-5-sources.jar.sha1 +1 -0
  24. package/android/com/facebook/react/react-native/0.64.2-5/react-native-0.64.2-5.aar +0 -0
  25. package/android/com/facebook/react/react-native/0.64.2-5/react-native-0.64.2-5.aar.md5 +1 -0
  26. package/android/com/facebook/react/react-native/0.64.2-5/react-native-0.64.2-5.aar.sha1 +1 -0
  27. package/android/com/facebook/react/react-native/{0.64.2-4/react-native-0.64.2-4.pom → 0.64.2-5/react-native-0.64.2-5.pom} +1 -1
  28. package/android/com/facebook/react/react-native/0.64.2-5/react-native-0.64.2-5.pom.md5 +1 -0
  29. package/android/com/facebook/react/react-native/0.64.2-5/react-native-0.64.2-5.pom.sha1 +1 -0
  30. package/android/com/facebook/react/react-native/maven-metadata.xml +3 -3
  31. package/android/com/facebook/react/react-native/maven-metadata.xml.md5 +1 -1
  32. package/android/com/facebook/react/react-native/maven-metadata.xml.sha1 +1 -1
  33. package/local-cli/cli.js +0 -0
  34. package/package.json +1 -1
  35. package/template/ios/HelloWorld.xcodeproj/project.pbxproj.rej +1034 -0
  36. package/template/package.json +1 -1
  37. package/Libraries/.npmignore +0 -1
  38. package/Libraries/Components/AppleTV/TVFocusGuideView.js.orig +0 -61
  39. package/ReactAndroid/.npmignore +0 -3
  40. package/ReactAndroid/src/main/jni/first-party/fbjni/.gitignore +0 -2
  41. package/ReactCommon/hermes/inspector/tools/msggen/.gitignore +0 -3
  42. package/android/com/facebook/react/react-native/0.64.2-4/react-native-0.64.2-4-sources.jar.md5 +0 -1
  43. package/android/com/facebook/react/react-native/0.64.2-4/react-native-0.64.2-4-sources.jar.sha1 +0 -1
  44. package/android/com/facebook/react/react-native/0.64.2-4/react-native-0.64.2-4.aar +0 -0
  45. package/android/com/facebook/react/react-native/0.64.2-4/react-native-0.64.2-4.aar.md5 +0 -1
  46. package/android/com/facebook/react/react-native/0.64.2-4/react-native-0.64.2-4.aar.sha1 +0 -1
  47. package/android/com/facebook/react/react-native/0.64.2-4/react-native-0.64.2-4.pom.md5 +0 -1
  48. package/android/com/facebook/react/react-native/0.64.2-4/react-native-0.64.2-4.pom.sha1 +0 -1
  49. package/third-party-podspecs/hermes-engine.podspec +0 -45
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "react": "17.0.1",
14
- "react-native": "npm:react-native-tvos@0.64.2-4"
14
+ "react-native": "npm:react-native-tvos@0.64.2-5"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.12.9",
@@ -1 +0,0 @@
1
- __tests__
@@ -1,61 +0,0 @@
1
- /**
2
- * Copyright (c) Facebook, Inc. and its 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
- * @flow
8
- * @format
9
- */
10
-
11
- const requireNativeComponent = require('../../ReactNative/requireNativeComponent');
12
- const React = require('react');
13
- const ReactNative = require('react-native');
14
- const Platform = require('../../Utilities/Platform');
15
- import type {ViewProps} from '../View/ViewPropTypes';
16
-
17
- type FocusGuideProps = $ReadOnly<{
18
- ...ViewProps,
19
-
20
- /**
21
- * The views the focus should go to
22
- */
23
- destinations: ?(Object[]),
24
- }>;
25
-
26
- class TVFocusGuideView extends React.Component<FocusGuideProps> {
27
- _focusGuideRef: ?Object;
28
- _destinationTags: ?(number[]);
29
-
30
- componentDidUpdate() {
31
- const destinations = this.props.destinations || [];
32
- this._destinationTags = destinations.map(
33
- c => ReactNative.findNodeHandle(c) || 0,
34
- );
35
- this._focusGuideRef &&
36
- this._focusGuideRef.setNativeProps({
37
- destinationTags: this._destinationTags,
38
- });
39
- }
40
-
41
- render(): React.Node {
42
- return (
43
- // Container view must have nonzero size
44
- <ReactNative.View style={[{minHeight: 1, minWidth: 1}, this.props.style]}>
45
- {Platform.isTVOS ? (
46
- <RNFocusGuide
47
- style={this.props.style}
48
- ref={ref => (this._focusGuideRef = ref)}
49
- destinationTags={this._destinationTags}>
50
- {this.props.children}
51
- </RNFocusGuide>
52
- ) : (
53
- this.props.children
54
- )}
55
- </ReactNative.View>)
56
- }
57
- }
58
-
59
- const RNFocusGuide = requireNativeComponent('RCTTVFocusGuideView');
60
-
61
- module.exports = TVFocusGuideView;
@@ -1,3 +0,0 @@
1
- # Make sure we never publish ReactAndroid/build (Gradle output) to npm.
2
- # The folder is huge (> 100MB)!
3
- build/
@@ -1,2 +0,0 @@
1
- /headers/
2
- /jni/
@@ -1,3 +0,0 @@
1
- .DS_Store
2
- bin/
3
- node_modules/
@@ -1 +0,0 @@
1
- 5af97ab5916e36594287142cf6d5b4e7
@@ -1 +0,0 @@
1
- b6f3146f2cc0274f0c89ac592866f171400dacc4
@@ -1 +0,0 @@
1
- 22cd0f56551671b0ab768b2b37037d5d
@@ -1 +0,0 @@
1
- 9bc9b509b41ce35609aab7153d29e734bcdfb307
@@ -1 +0,0 @@
1
- 0add7dd5b03a43bbf55520514e47b9ac
@@ -1 +0,0 @@
1
- 6ce251aa47b824176c70dd334d5fb32925028766
@@ -1,45 +0,0 @@
1
- # Copyright (c) Facebook, Inc. and its affiliates.
2
- #
3
- # This source code is licensed under the MIT license found in the
4
- # LICENSE file in the root directory of this source tree.
5
-
6
- module HermesHelper
7
- # BUILD_TYPE = :debug
8
- BUILD_TYPE = :release
9
- end
10
-
11
- Pod::Spec.new do |spec|
12
- spec.name = "hermes-engine"
13
- spec.version = "0.8.0"
14
- spec.summary = "Hermes is a small and lightweight JavaScript engine optimized for running React Native."
15
- spec.description = "Hermes is a JavaScript engine optimized for fast start-up of React Native apps. It features ahead-of-time static optimization and compact bytecode."
16
- spec.homepage = "https://hermesengine.dev"
17
- spec.license = { type: "MIT", file: "LICENSE" }
18
- spec.author = "Facebook"
19
- # This env var should be supplied with a CDN URL of the "hermes-runtime-darwin.tgz" on the Github releases before pod push.
20
- # The podspec would be serialized to JSON and people will download prebuilt binaries instead of the source.
21
- # TODO(use the hash field as a validation mechanism when the process is stable)
22
- spec.source = ENV['hermes-artifact-url'] ? { http: ENV['hermes-artifact-url'] } : { git: "https://github.com/facebook/hermes.git", tag: "v#{spec.version}" }
23
- spec.platforms = { :osx => "10.13", :ios => "10.0" , :tvos => "12.0" }
24
-
25
- spec.preserve_paths = ["destroot/bin/*"].concat(HermesHelper::BUILD_TYPE == :debug ? ["**/*.{h,c,cpp}"] : [])
26
- spec.source_files = "destroot/include/**/*.h"
27
- spec.header_mappings_dir = "destroot/include"
28
-
29
- spec.ios.vendored_frameworks = "destroot/Library/Frameworks/iphoneos/hermes.framework"
30
- spec.osx.vendored_frameworks = "destroot/Library/Frameworks/macosx/hermes.framework"
31
-
32
- spec.xcconfig = { "CLANG_CXX_LANGUAGE_STANDARD" => "c++14", "CLANG_CXX_LIBRARY" => "compiler-default", "GCC_PREPROCESSOR_DEFINITIONS" => "HERMES_ENABLE_DEBUGGER=1" }
33
-
34
- unless ENV['hermes-artifact-url']
35
- spec.prepare_command = <<-EOS
36
- # When true, debug build will be used.
37
- # See `build-apple-framework.sh` for details
38
- DEBUG=#{HermesHelper::BUILD_TYPE == :debug}
39
- # Build iOS framework
40
- ./utils/build-ios-framework.sh
41
- # Build Mac framework
42
- ./utils/build-mac-framework.sh
43
- EOS
44
- end
45
- end