react-native 0.68.0-rc.2 → 0.68.0-rc.3

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 (69) hide show
  1. package/Libraries/Blob/React-RCTBlob.podspec +1 -1
  2. package/Libraries/Components/Switch/Switch.js +2 -1
  3. package/Libraries/Core/ReactNativeVersion.js +1 -1
  4. package/Libraries/Image/React-RCTImage.podspec +1 -1
  5. package/Libraries/LinkingIOS/React-RCTLinking.podspec +1 -1
  6. package/Libraries/NativeAnimation/React-RCTAnimation.podspec +1 -1
  7. package/Libraries/Network/React-RCTNetwork.podspec +1 -1
  8. package/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +1 -1
  9. package/Libraries/Settings/React-RCTSettings.podspec +1 -1
  10. package/Libraries/Vibration/React-RCTVibration.podspec +1 -1
  11. package/React/Base/RCTVersion.m +1 -1
  12. package/React/Base/Surface/SurfaceHostingView/RCTSurfaceHostingProxyRootView.mm +4 -7
  13. package/React/Base/Surface/SurfaceHostingView/RCTSurfaceHostingView.mm +4 -2
  14. package/React/CoreModules/React-CoreModules.podspec +1 -1
  15. package/React/React-RCTFabric.podspec +1 -1
  16. package/ReactAndroid/gradle.properties +1 -1
  17. package/ReactAndroid/src/main/java/com/facebook/react/config/ReactFeatureFlags.java +0 -3
  18. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
  19. package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextView.java +0 -12
  20. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  21. package/android/com/facebook/react/react-native/{0.68.0-rc.2/react-native-0.68.0-rc.2-sources.jar → 0.68.0-rc.3/react-native-0.68.0-rc.3-sources.jar} +0 -0
  22. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3-sources.jar.md5 +1 -0
  23. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3-sources.jar.sha1 +1 -0
  24. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3-sources.jar.sha256 +1 -0
  25. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3-sources.jar.sha512 +1 -0
  26. package/android/com/facebook/react/react-native/{0.68.0-rc.2/react-native-0.68.0-rc.2.aar → 0.68.0-rc.3/react-native-0.68.0-rc.3.aar} +0 -0
  27. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3.aar.md5 +1 -0
  28. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3.aar.sha1 +1 -0
  29. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3.aar.sha256 +1 -0
  30. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3.aar.sha512 +1 -0
  31. package/android/com/facebook/react/react-native/{0.68.0-rc.2/react-native-0.68.0-rc.2.module → 0.68.0-rc.3/react-native-0.68.0-rc.3.module} +15 -15
  32. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3.module.md5 +1 -0
  33. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3.module.sha1 +1 -0
  34. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3.module.sha256 +1 -0
  35. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3.module.sha512 +1 -0
  36. package/android/com/facebook/react/react-native/{0.68.0-rc.2/react-native-0.68.0-rc.2.pom → 0.68.0-rc.3/react-native-0.68.0-rc.3.pom} +1 -1
  37. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3.pom.md5 +1 -0
  38. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3.pom.sha1 +1 -0
  39. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3.pom.sha256 +1 -0
  40. package/android/com/facebook/react/react-native/0.68.0-rc.3/react-native-0.68.0-rc.3.pom.sha512 +1 -0
  41. package/android/com/facebook/react/react-native/maven-metadata.xml +4 -4
  42. package/android/com/facebook/react/react-native/maven-metadata.xml.md5 +1 -1
  43. package/android/com/facebook/react/react-native/maven-metadata.xml.sha1 +1 -1
  44. package/android/com/facebook/react/react-native/maven-metadata.xml.sha256 +1 -1
  45. package/android/com/facebook/react/react-native/maven-metadata.xml.sha512 +1 -1
  46. package/package.json +1 -1
  47. package/react.gradle +38 -15
  48. package/scripts/react_native_pods.rb +12 -9
  49. package/template/Gemfile.lock +4 -4
  50. package/template/android/app/build.gradle +14 -0
  51. package/template/ios/Podfile +2 -2
  52. package/template/package.json +1 -1
  53. package/third-party-podspecs/RCT-Folly.podspec +5 -1
  54. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2-sources.jar.md5 +0 -1
  55. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2-sources.jar.sha1 +0 -1
  56. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2-sources.jar.sha256 +0 -1
  57. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2-sources.jar.sha512 +0 -1
  58. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2.aar.md5 +0 -1
  59. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2.aar.sha1 +0 -1
  60. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2.aar.sha256 +0 -1
  61. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2.aar.sha512 +0 -1
  62. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2.module.md5 +0 -1
  63. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2.module.sha1 +0 -1
  64. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2.module.sha256 +0 -1
  65. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2.module.sha512 +0 -1
  66. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2.pom.md5 +0 -1
  67. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2.pom.sha1 +0 -1
  68. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2.pom.sha256 +0 -1
  69. package/android/com/facebook/react/react-native/0.68.0-rc.2/react-native-0.68.0-rc.2.pom.sha512 +0 -1
@@ -35,7 +35,7 @@ Pod::Spec.new do |s|
35
35
  s.pod_target_xcconfig = {
36
36
  "USE_HEADERMAP" => "YES",
37
37
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
38
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\""
38
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\" \"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen/React_Codegen.framework/Headers\""
39
39
  }
40
40
 
41
41
  s.dependency "RCT-Folly", folly_version
@@ -170,7 +170,8 @@ const SwitchWithForwardedRef: React.AbstractComponent<
170
170
  // that the update should be ignored and we should stick with the value
171
171
  // that we have in JS.
172
172
  const jsValue = value === true;
173
- const shouldUpdateNativeSwitch = native.value !== jsValue;
173
+ const shouldUpdateNativeSwitch =
174
+ native.value != null && native.value !== jsValue;
174
175
  if (
175
176
  shouldUpdateNativeSwitch &&
176
177
  nativeSwitchRef.current?.setNativeProps != null
@@ -13,5 +13,5 @@ exports.version = {
13
13
  major: 0,
14
14
  minor: 68,
15
15
  patch: 0,
16
- prerelease: 'rc.2',
16
+ prerelease: 'rc.3',
17
17
  };
@@ -36,7 +36,7 @@ Pod::Spec.new do |s|
36
36
  s.pod_target_xcconfig = {
37
37
  "USE_HEADERMAP" => "YES",
38
38
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
39
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\""
39
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\" \"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen/React_Codegen.framework/Headers\""
40
40
  }
41
41
 
42
42
  s.dependency "RCT-Folly", folly_version
@@ -36,7 +36,7 @@ Pod::Spec.new do |s|
36
36
  s.pod_target_xcconfig = {
37
37
  "USE_HEADERMAP" => "YES",
38
38
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
39
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\""
39
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\" \"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen/React_Codegen.framework/Headers\""
40
40
  }
41
41
 
42
42
  s.dependency "React-Codegen", version
@@ -35,7 +35,7 @@ Pod::Spec.new do |s|
35
35
  s.pod_target_xcconfig = {
36
36
  "USE_HEADERMAP" => "YES",
37
37
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
38
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\""
38
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\" \"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen/React_Codegen.framework/Headers\""
39
39
  }
40
40
 
41
41
  s.dependency "RCT-Folly", folly_version
@@ -35,7 +35,7 @@ Pod::Spec.new do |s|
35
35
  s.pod_target_xcconfig = {
36
36
  "USE_HEADERMAP" => "YES",
37
37
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
38
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\""
38
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\" \"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen/React_Codegen.framework/Headers\""
39
39
  }
40
40
  s.frameworks = "MobileCoreServices"
41
41
 
@@ -36,7 +36,7 @@ Pod::Spec.new do |s|
36
36
  s.pod_target_xcconfig = {
37
37
  "USE_HEADERMAP" => "YES",
38
38
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
39
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\""
39
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\" \"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen/React_Codegen.framework/Headers\""
40
40
  }
41
41
  s.framework = "UserNotifications"
42
42
 
@@ -36,7 +36,7 @@ Pod::Spec.new do |s|
36
36
  s.pod_target_xcconfig = {
37
37
  "USE_HEADERMAP" => "YES",
38
38
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
39
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\""
39
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\" \"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen/React_Codegen.framework/Headers\""
40
40
  }
41
41
 
42
42
  s.dependency "RCT-Folly", folly_version
@@ -36,7 +36,7 @@ Pod::Spec.new do |s|
36
36
  s.pod_target_xcconfig = {
37
37
  "USE_HEADERMAP" => "YES",
38
38
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
39
- "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\""
39
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\" \"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen/React_Codegen.framework/Headers\""
40
40
  }
41
41
  s.frameworks = "AudioToolbox"
42
42
 
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(68),
26
26
  RCTVersionPatch: @(0),
27
- RCTVersionPrerelease: @"rc.2",
27
+ RCTVersionPrerelease: @"rc.3",
28
28
  };
29
29
  });
30
30
  return __rnVersion;
@@ -73,13 +73,10 @@ static RCTRootViewSizeFlexibility convertToRootViewSizeFlexibility(RCTSurfaceSiz
73
73
  // `RCTRootViewSizeFlexibilityNone` is the RCTRootView's default.
74
74
  RCTSurfaceSizeMeasureMode sizeMeasureMode = convertToSurfaceSizeMeasureMode(RCTRootViewSizeFlexibilityNone);
75
75
 
76
- id<RCTSurfaceProtocol> surface = [[self class] createSurfaceWithBridge:bridge
77
- moduleName:moduleName
78
- initialProperties:initialProperties];
79
- [surface start];
80
- if (self = [super initWithSurface:surface sizeMeasureMode:sizeMeasureMode]) {
81
- // Nothing specific to do.
82
- }
76
+ self = [super initWithBridge:bridge
77
+ moduleName:moduleName
78
+ initialProperties:initialProperties
79
+ sizeMeasureMode:sizeMeasureMode];
83
80
 
84
81
  RCT_PROFILE_END_EVENT(RCTProfileTagAlways, @"");
85
82
 
@@ -46,8 +46,10 @@ RCT_NOT_IMPLEMENTED(-(nullable instancetype)initWithCoder : (NSCoder *)coder)
46
46
  id<RCTSurfaceProtocol> surface = [[self class] createSurfaceWithBridge:bridge
47
47
  moduleName:moduleName
48
48
  initialProperties:initialProperties];
49
- [surface start];
50
- return [self initWithSurface:surface sizeMeasureMode:sizeMeasureMode];
49
+ if (self = [self initWithSurface:surface sizeMeasureMode:sizeMeasureMode]) {
50
+ [surface start];
51
+ }
52
+ return self;
51
53
  }
52
54
 
53
55
  - (instancetype)initWithSurface:(id<RCTSurfaceProtocol>)surface
@@ -34,7 +34,7 @@ Pod::Spec.new do |s|
34
34
  s.pod_target_xcconfig = {
35
35
  "USE_HEADERMAP" => "YES",
36
36
  "CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
37
- "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/React/CoreModules\" \"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\""
37
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/React/CoreModules\" \"$(PODS_ROOT)/RCT-Folly\" \"${PODS_ROOT}/Headers/Public/React-Codegen/react/renderer/components\" \"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen/React_Codegen.framework/Headers\""
38
38
  }
39
39
 
40
40
  s.dependency "React-Codegen", version
@@ -36,7 +36,7 @@ Pod::Spec.new do |s|
36
36
  s.compiler_flags = folly_compiler_flags + ' ' + boost_compiler_flags
37
37
  s.header_dir = "React"
38
38
  s.framework = "JavaScriptCore"
39
- s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/Headers/Private/React-Core\" \"$(PODS_ROOT)/Headers/Public/React-Codegen\"" }
39
+ s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/ReactCommon\" \"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/Headers/Private/React-Core\" \"$(PODS_ROOT)/Headers/Public/React-Codegen\" \"${PODS_CONFIGURATION_BUILD_DIR}/React-Codegen/React_Codegen.framework/Headers\"" }
40
40
  s.xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\" \"$(PODS_ROOT)/glog\" \"$(PODS_ROOT)/RCT-Folly\"",
41
41
  "OTHER_CFLAGS" => "$(inherited) -DRN_FABRIC_ENABLED" + " " + folly_flags }
42
42
 
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.68.0-rc.2
1
+ VERSION_NAME=0.68.0-rc.3
2
2
  GROUP=com.facebook.react
3
3
 
4
4
  POM_NAME=ReactNative
@@ -102,9 +102,6 @@ public class ReactFeatureFlags {
102
102
 
103
103
  public static boolean insertZReorderBarriersOnViewGroupChildren = true;
104
104
 
105
- /** TODO: T103427072 Delete ReactFeatureFlags.enableNestedTextOnPressEventFix */
106
- public static boolean enableNestedTextOnPressEventFix = true;
107
-
108
105
  /** TODO: T107492383 Delete this flag. Enables postprocessor for rounded corners for Image */
109
106
  public static boolean enableRoundedCornerPostprocessing = false;
110
107
  }
@@ -18,5 +18,5 @@ public class ReactNativeVersion {
18
18
  "major", 0,
19
19
  "minor", 68,
20
20
  "patch", 0,
21
- "prerelease", "rc.2");
21
+ "prerelease", "rc.3");
22
22
  }
@@ -19,7 +19,6 @@ import android.text.TextUtils;
19
19
  import android.text.method.LinkMovementMethod;
20
20
  import android.text.util.Linkify;
21
21
  import android.view.Gravity;
22
- import android.view.MotionEvent;
23
22
  import android.view.View;
24
23
  import android.view.ViewGroup;
25
24
  import androidx.annotation.Nullable;
@@ -32,7 +31,6 @@ import com.facebook.react.bridge.ReactContext;
32
31
  import com.facebook.react.bridge.WritableArray;
33
32
  import com.facebook.react.bridge.WritableMap;
34
33
  import com.facebook.react.common.ReactConstants;
35
- import com.facebook.react.config.ReactFeatureFlags;
36
34
  import com.facebook.react.uimanager.PixelUtil;
37
35
  import com.facebook.react.uimanager.ReactCompoundView;
38
36
  import com.facebook.react.uimanager.UIManagerModule;
@@ -384,16 +382,6 @@ public class ReactTextView extends AppCompatTextView implements ReactCompoundVie
384
382
  return target;
385
383
  }
386
384
 
387
- @Override
388
- public boolean onTouchEvent(MotionEvent ev) {
389
- // The root view always assumes any view that was tapped wants the touch
390
- // and sends the event to JS as such.
391
- // We don't need to do bubbling in native (it's already happening in JS).
392
- // For an explanation of bubbling and capturing, see
393
- // http://javascript.info/tutorial/bubbling-and-capturing#capturing
394
- return ReactFeatureFlags.enableNestedTextOnPressEventFix;
395
- }
396
-
397
385
  @Override
398
386
  protected boolean verifyDrawable(Drawable drawable) {
399
387
  if (mContainsImages && getText() instanceof Spanned) {
@@ -18,7 +18,7 @@ constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 68;
20
20
  int32_t Patch = 0;
21
- std::string_view Prerelease = "rc.2";
21
+ std::string_view Prerelease = "rc.3";
22
22
  } ReactNativeVersion;
23
23
 
24
24
  } // namespace facebook::react
@@ -0,0 +1 @@
1
+ 07b9ba4945a5a7dd467f9d78b2be18f25d67a190
@@ -0,0 +1 @@
1
+ acf25ea26953d6fadb8525b69ca8be28cac57f833352e5f29ef0aed8943bef2f
@@ -0,0 +1 @@
1
+ beb442c0839185a8f62eecffbb4d238461eee21c0a319852bef75dab8e43c8c9f7d1be45be02500f8f5772f04b0c320941ba655903c916aff0b050f081593bff
@@ -0,0 +1 @@
1
+ 75e5c2d023e40986abb8b2f7e0ef71f204562232
@@ -0,0 +1 @@
1
+ a524a994211ca6920b457fa9ac5c5585774dfcccdcbe49263e79c937d1bafcf4
@@ -0,0 +1 @@
1
+ 45a37681cc48a50eb1cfc41864f454f79a636afbbcc43e610a8ebfa603caff79538f1aca4fc7734345a250dd4f8f79dd353baf25e511ae495b7db88a1e2714c0
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "com.facebook.react",
5
5
  "module": "react-native",
6
- "version": "0.68.0-rc.2",
6
+ "version": "0.68.0-rc.3",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -131,13 +131,13 @@
131
131
  ],
132
132
  "files": [
133
133
  {
134
- "name": "react-native-0.68.0-rc.2.aar",
135
- "url": "react-native-0.68.0-rc.2.aar",
136
- "size": 16395396,
137
- "sha512": "d65d387d3b6e7652c96dd9f1f190e7643db811dbe90aa1d6fe143e50429854fe0d17e6672a2584e1b18fecbbb18727bf1abe0cfd5865f9b4c8213dc6a0f59447",
138
- "sha256": "e13bab7272f37036164179df6938995ef22619f6bfb7bbb1abb9214bb19ac423",
139
- "sha1": "500aa4ef242ba6f16ad72eb869b52b3bf0f4b1fc",
140
- "md5": "360a029ccfcc97c4802d2b2fdf34f2be"
134
+ "name": "react-native-0.68.0-rc.3.aar",
135
+ "url": "react-native-0.68.0-rc.3.aar",
136
+ "size": 16395231,
137
+ "sha512": "45a37681cc48a50eb1cfc41864f454f79a636afbbcc43e610a8ebfa603caff79538f1aca4fc7734345a250dd4f8f79dd353baf25e511ae495b7db88a1e2714c0",
138
+ "sha256": "a524a994211ca6920b457fa9ac5c5585774dfcccdcbe49263e79c937d1bafcf4",
139
+ "sha1": "75e5c2d023e40986abb8b2f7e0ef71f204562232",
140
+ "md5": "6810dc7e35257254971f8af32e833f99"
141
141
  }
142
142
  ]
143
143
  },
@@ -258,13 +258,13 @@
258
258
  ],
259
259
  "files": [
260
260
  {
261
- "name": "react-native-0.68.0-rc.2.aar",
262
- "url": "react-native-0.68.0-rc.2.aar",
263
- "size": 16395396,
264
- "sha512": "d65d387d3b6e7652c96dd9f1f190e7643db811dbe90aa1d6fe143e50429854fe0d17e6672a2584e1b18fecbbb18727bf1abe0cfd5865f9b4c8213dc6a0f59447",
265
- "sha256": "e13bab7272f37036164179df6938995ef22619f6bfb7bbb1abb9214bb19ac423",
266
- "sha1": "500aa4ef242ba6f16ad72eb869b52b3bf0f4b1fc",
267
- "md5": "360a029ccfcc97c4802d2b2fdf34f2be"
261
+ "name": "react-native-0.68.0-rc.3.aar",
262
+ "url": "react-native-0.68.0-rc.3.aar",
263
+ "size": 16395231,
264
+ "sha512": "45a37681cc48a50eb1cfc41864f454f79a636afbbcc43e610a8ebfa603caff79538f1aca4fc7734345a250dd4f8f79dd353baf25e511ae495b7db88a1e2714c0",
265
+ "sha256": "a524a994211ca6920b457fa9ac5c5585774dfcccdcbe49263e79c937d1bafcf4",
266
+ "sha1": "75e5c2d023e40986abb8b2f7e0ef71f204562232",
267
+ "md5": "6810dc7e35257254971f8af32e833f99"
268
268
  }
269
269
  ]
270
270
  }
@@ -0,0 +1 @@
1
+ 54b10a92e2b6b8a555e5a888925bda2bfdc41e2b
@@ -0,0 +1 @@
1
+ 513862a0a7b01e8194ca980484c4567a70bc0c2402a9aca23508e31e7fe3dac5
@@ -0,0 +1 @@
1
+ 598112f3e751ee5441d7a44bc2c7cf06dc6dba545dfd521f28b1feab2885114c4a9baa882c4f7c8a26d2b7718ea028b9b3db1c0e912a79968962112275008687
@@ -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.0-rc.2</version>
12
+ <version>0.68.0-rc.3</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
+ 404f6b92fc9cb5fcb260ec295c71c51b3471f125
@@ -0,0 +1 @@
1
+ f2341daae502c4a5e5c331cd5f9d6b83e8e1fd9de7b07fa18aa79bdbe0f0a134
@@ -0,0 +1 @@
1
+ c750d6a1f17a95b26021926dfe5d8a473dfa92e04ddda77106a8a32553127a4042fe7e421794f434ad35e2fda6e660dd4b1ad2188dd44c9048b15a3c40cef991
@@ -3,11 +3,11 @@
3
3
  <groupId>com.facebook.react</groupId>
4
4
  <artifactId>react-native</artifactId>
5
5
  <versioning>
6
- <latest>0.68.0-rc.2</latest>
7
- <release>0.68.0-rc.2</release>
6
+ <latest>0.68.0-rc.3</latest>
7
+ <release>0.68.0-rc.3</release>
8
8
  <versions>
9
- <version>0.68.0-rc.2</version>
9
+ <version>0.68.0-rc.3</version>
10
10
  </versions>
11
- <lastUpdated>20220224173052</lastUpdated>
11
+ <lastUpdated>20220317130835</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 3b19734776929fa5018cb9ea29a72206
1
+ 1f962d9f97c011638f2e8fbece96f653
@@ -1 +1 @@
1
- df094a38c2f4a6287fc6fbe38b0f295d596f22f3
1
+ 5c041a9349b5eef4146725efcc1c06495bf6ce97
@@ -1 +1 @@
1
- 5de8853cc407555e54e74f3bacfa5c26f34adab6d5b480e2da7e109405fc6227
1
+ 82ecc2d7c6b571a55bc8c6077353307b1b6d58f4dc8d161b3f593c2e761aff43
@@ -1 +1 @@
1
- fa850e13d54b106ce4f6c32cd08493f703f3e231a264079e5f2dbf307229c49a39d03bd1f252770c9db1a34c4db625e180ee0f10c842036bcec50bd15ff41a38
1
+ 80df3500fce9108fe02e366d8c97f8a7a86f8094930e2d983def08133c8dcffe460f3c8003b427a19bacc88d240b2753ebc75c0e0fb44d75b24587ea50c2c0bb
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native",
3
- "version": "0.68.0-rc.2",
3
+ "version": "0.68.0-rc.3",
4
4
  "bin": "./cli.js",
5
5
  "description": "A framework for building native apps using React",
6
6
  "license": "MIT",
package/react.gradle CHANGED
@@ -22,20 +22,6 @@ def detectEntryFile(config) {
22
22
  return "index.js";
23
23
  }
24
24
 
25
- /**
26
- * Detects CLI location in a similar fashion to the React Native CLI
27
- */
28
- def detectCliPath(config) {
29
- if (config.cliPath) {
30
- return "${projectDir}/${config.cliPath}"
31
- }
32
- if (new File("${projectDir}/../../node_modules/react-native/cli.js").exists()) {
33
- return "${projectDir}/../../node_modules/react-native/cli.js"
34
- }
35
- throw new Exception("Couldn't determine CLI location. " +
36
- "Please set `project.ext.react.cliPath` to the path of the react-native cli.js file. This file typically resides in `node_modules/react-native/cli.js`");
37
- }
38
-
39
25
  def composeSourceMapsPath = config.composeSourceMapsPath ?: "node_modules/react-native/scripts/compose-source-maps.js"
40
26
  def bundleAssetName = config.bundleAssetName ?: "index.android.bundle"
41
27
  def entryFile = detectEntryFile(config)
@@ -46,6 +32,43 @@ def bundleConfig = config.bundleConfig ? "${reactRoot}/${config.bundleConfig}" :
46
32
  def enableVmCleanup = config.enableVmCleanup == null ? true : config.enableVmCleanup
47
33
  def hermesCommand = config.hermesCommand ?: "../../node_modules/hermes-engine/%OS-BIN%/hermesc"
48
34
 
35
+ /**
36
+ * Detects CLI location in a similar fashion to the React Native CLI
37
+ */
38
+ def detectCliPath(config, reactRoot) {
39
+ // 1. preconfigured path
40
+ if (config.cliPath) {
41
+ def cliJsAbsolute = new File(config.cliPath)
42
+ if (cliJsAbsolute.exists()) {
43
+ return cliJsAbsolute.getAbsolutePath()
44
+ }
45
+ def cliJsRelativeToRoot = new File("${rootDir}/${config.cliPath}")
46
+ if (cliJsRelativeToRoot.exists()) {
47
+ return cliJsRelativeToRoot.getAbsolutePath()
48
+ }
49
+ def cliJsRelativeToProject = new File("${projectDir}/${config.cliPath}")
50
+ if (cliJsRelativeToProject.exists()) {
51
+ return cliJsRelativeToProject.getAbsolutePath()
52
+ }
53
+ }
54
+
55
+ // 2. node module path
56
+ def cliJsFromNode = new File(["node", "--print", "require.resolve('react-native/cli').bin"].execute(null, rootDir).text.trim())
57
+ if (cliJsFromNode.exists()) {
58
+ return cliJsFromNode.getAbsolutePath()
59
+ }
60
+
61
+ // 3. cli.js in the root folder
62
+ def rootCliJs = new File(reactRoot, "node_modules/react-native/cli.js")
63
+ if (rootCliJs.exists()) {
64
+ return rootCliJs.getAbsolutePath()
65
+ }
66
+
67
+ throw new Exception("Couldn't determine CLI location. " +
68
+ "Please set `project.ext.react.cliPath` to the path of the react-native cli.js file. " +
69
+ "This file typically resides in `node_modules/react-native/cli.js`");
70
+ }
71
+
49
72
  def reactNativeDevServerPort() {
50
73
  def value = project.getProperties().get("reactNativeDevServerPort")
51
74
  return value != null ? value : "8081"
@@ -164,7 +187,7 @@ afterEvaluate {
164
187
 
165
188
  // Additional node and packager commandline arguments
166
189
  def nodeExecutableAndArgs = config.nodeExecutableAndArgs ?: ["node"]
167
- def cliPath = detectCliPath(config)
190
+ def cliPath = detectCliPath(config, reactRoot)
168
191
 
169
192
  def execCommand = []
170
193
 
@@ -131,10 +131,10 @@ end
131
131
  def use_flipper!(versions = {}, configurations: ['Debug'])
132
132
  versions['Flipper'] ||= '0.125.0'
133
133
  versions['Flipper-Boost-iOSX'] ||= '1.76.0.1.11'
134
- versions['Flipper-DoubleConversion'] ||= '3.1.7'
134
+ versions['Flipper-DoubleConversion'] ||= '3.2.0'
135
135
  versions['Flipper-Fmt'] ||= '7.1.7'
136
136
  versions['Flipper-Folly'] ||= '2.6.10'
137
- versions['Flipper-Glog'] ||= '0.3.9'
137
+ versions['Flipper-Glog'] ||= '0.5.0.4'
138
138
  versions['Flipper-PeerTalk'] ||= '0.0.4'
139
139
  versions['Flipper-RSocket'] ||= '1.4.3'
140
140
  versions['OpenSSL-Universal'] ||= '1.1.1100'
@@ -271,8 +271,9 @@ def modify_flags_for_new_architecture(installer, cpp_flags)
271
271
  end
272
272
 
273
273
  def build_codegen!(react_native_path)
274
- codegen_repo_path = "#{react_native_path}/packages/react-native-codegen";
275
- codegen_npm_path = "#{react_native_path}/../react-native-codegen";
274
+ relative_installation_root = Pod::Config.instance.installation_root.relative_path_from(Pathname.pwd)
275
+ codegen_repo_path = "#{relative_installation_root}/#{react_native_path}/packages/react-native-codegen";
276
+ codegen_npm_path = "#{relative_installation_root}/#{react_native_path}/../react-native-codegen";
276
277
  codegen_cli_path = ""
277
278
  if Dir.exist?(codegen_repo_path)
278
279
  codegen_cli_path = codegen_repo_path
@@ -313,7 +314,7 @@ def checkAndGenerateEmptyThirdPartyProvider!(react_native_path)
313
314
  Pod::Executable.execute_command(
314
315
  'node',
315
316
  [
316
- "#{react_native_path}/scripts/generate-provider-cli.js",
317
+ "#{relative_installation_root}/#{react_native_path}/scripts/generate-provider-cli.js",
317
318
  "--platform", 'ios',
318
319
  "--schemaListPath", temp_schema_list_path,
319
320
  "--outputDir", "#{output_dir}"
@@ -503,6 +504,7 @@ def use_react_native_codegen_discovery!(options={})
503
504
  app_path = options[:app_path]
504
505
  fabric_enabled = options[:fabric_enabled] ||= false
505
506
  config_file_dir = options[:config_file_dir] ||= ''
507
+ relative_installation_root = Pod::Config.instance.installation_root.relative_path_from(Pathname.pwd)
506
508
 
507
509
  if !app_path
508
510
  Pod::UI.warn '[Codegen] Error: app_path is required for use_react_native_codegen_discovery.'
@@ -518,7 +520,7 @@ def use_react_native_codegen_discovery!(options={})
518
520
  out = Pod::Executable.execute_command(
519
521
  'node',
520
522
  [
521
- "#{react_native_path}/scripts/generate-artifacts.js",
523
+ "#{relative_installation_root}/#{react_native_path}/scripts/generate-artifacts.js",
522
524
  "-p", "#{app_path}",
523
525
  "-o", Pod::Config.instance.installation_root,
524
526
  "-e", "#{fabric_enabled}",
@@ -540,6 +542,7 @@ def use_react_native_codegen!(spec, options={})
540
542
  library_name = options[:library_name] ||= "#{spec.name.gsub('_','-').split('-').collect(&:capitalize).join}Spec"
541
543
  Pod::UI.puts "[Codegen] Found #{library_name}"
542
544
 
545
+ relative_installation_root = Pod::Config.instance.installation_root.relative_path_from(Pathname.pwd)
543
546
  output_dir = options[:output_dir] ||= $CODEGEN_OUTPUT_DIR
544
547
  output_dir_module = "#{output_dir}/#{$CODEGEN_MODULE_DIR}"
545
548
  output_dir_component = "#{output_dir}/#{$CODEGEN_COMPONENT_DIR}"
@@ -547,7 +550,7 @@ def use_react_native_codegen!(spec, options={})
547
550
  codegen_config = {
548
551
  "modules" => {
549
552
  :js_srcs_pattern => "Native*.js",
550
- :generated_dir => "#{Pod::Config.instance.installation_root}/#{output_dir_module}/#{library_name}",
553
+ :generated_dir => "#{relative_installation_root}/#{output_dir_module}/#{library_name}",
551
554
  :generated_files => [
552
555
  "#{library_name}.h",
553
556
  "#{library_name}-generated.mm"
@@ -555,7 +558,7 @@ def use_react_native_codegen!(spec, options={})
555
558
  },
556
559
  "components" => {
557
560
  :js_srcs_pattern => "*NativeComponent.js",
558
- :generated_dir => "#{Pod::Config.instance.installation_root}/#{output_dir_component}/#{library_name}",
561
+ :generated_dir => "#{relative_installation_root}/#{output_dir_component}/#{library_name}",
559
562
  :generated_files => [
560
563
  "ComponentDescriptors.h",
561
564
  "EventEmitters.cpp",
@@ -604,7 +607,7 @@ def use_react_native_codegen!(spec, options={})
604
607
  spec.script_phase = {
605
608
  :name => 'Generate Specs',
606
609
  :input_files => input_files, # This also needs to be relative to Xcode
607
- :output_files => ["${DERIVED_FILE_DIR}/codegen-#{library_name}.log"].concat(generated_files.map { |filename| " ${PODS_TARGET_SRCROOT}/#{filename}"} ),
610
+ :output_files => ["${DERIVED_FILE_DIR}/codegen-#{library_name}.log"].concat(generated_files.map { |filename| "${PODS_TARGET_SRCROOT}/#{filename}"} ),
608
611
  # The final generated files will be created when this script is invoked at Xcode build time.
609
612
  :script => get_script_phases_no_codegen_discovery(
610
613
  react_native_path: react_native_path,
@@ -3,7 +3,7 @@ GEM
3
3
  specs:
4
4
  CFPropertyList (3.0.5)
5
5
  rexml
6
- activesupport (6.1.4.6)
6
+ activesupport (6.1.5)
7
7
  concurrent-ruby (~> 1.0, >= 1.0.2)
8
8
  i18n (>= 1.6, < 2)
9
9
  minitest (>= 5.1)
@@ -16,10 +16,10 @@ GEM
16
16
  json (>= 1.5.1)
17
17
  atomos (0.1.3)
18
18
  claide (1.1.0)
19
- cocoapods (1.11.2)
19
+ cocoapods (1.11.3)
20
20
  addressable (~> 2.8)
21
21
  claide (>= 1.0.2, < 2.0)
22
- cocoapods-core (= 1.11.2)
22
+ cocoapods-core (= 1.11.3)
23
23
  cocoapods-deintegrate (>= 1.0.3, < 2.0)
24
24
  cocoapods-downloader (>= 1.4.0, < 2.0)
25
25
  cocoapods-plugins (>= 1.0.0, < 2.0)
@@ -34,7 +34,7 @@ GEM
34
34
  nap (~> 1.0)
35
35
  ruby-macho (>= 1.0, < 3.0)
36
36
  xcodeproj (>= 1.21.0, < 2.0)
37
- cocoapods-core (1.11.2)
37
+ cocoapods-core (1.11.3)
38
38
  activesupport (>= 5.0, < 7)
39
39
  addressable (~> 2.8)
40
40
  algoliasearch (~> 1.0)
@@ -186,6 +186,20 @@ android {
186
186
  // preBuild.dependsOn("generateCodegenArtifactsFromSchema")
187
187
  preDebugBuild.dependsOn(packageReactNdkDebugLibs)
188
188
  preReleaseBuild.dependsOn(packageReactNdkReleaseLibs)
189
+
190
+ // Due to a bug inside AGP, we have to explicitly set a dependency
191
+ // between configureNdkBuild* tasks and the preBuild tasks.
192
+ // This can be removed once this is solved: https://issuetracker.google.com/issues/207403732
193
+ configureNdkBuildRelease.dependsOn(preReleaseBuild)
194
+ configureNdkBuildDebug.dependsOn(preDebugBuild)
195
+ reactNativeArchitectures().each { architecture ->
196
+ tasks.findByName("configureNdkBuildDebug[${architecture}]")?.configure {
197
+ dependsOn("preDebugBuild")
198
+ }
199
+ tasks.findByName("configureNdkBuildRelease[${architecture}]")?.configure {
200
+ dependsOn("preReleaseBuild")
201
+ }
202
+ }
189
203
  }
190
204
  }
191
205
 
@@ -15,8 +15,8 @@ target 'HelloWorld' do
15
15
  # to enable hermes on iOS, change `false` to `true` and then install pods
16
16
  :hermes_enabled => flags[:hermes_enabled],
17
17
  :fabric_enabled => flags[:fabric_enabled],
18
- # An abosolute path to your application root.
19
- :app_path => "#{Dir.pwd}/.."
18
+ # An absolute path to your application root.
19
+ :app_path => "#{Pod::Config.instance.installation_root}/.."
20
20
  )
21
21
 
22
22
  target 'HelloWorldTests' do
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "react": "17.0.2",
14
- "react-native": "0.68.0-rc.2"
14
+ "react-native": "0.68.0-rc.3"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.12.9",
@@ -91,7 +91,11 @@ Pod::Spec.new do |spec|
91
91
  'folly/concurrency/CacheLocality.cpp',
92
92
  'folly/detail/Futex.cpp',
93
93
  'folly/synchronization/ParkingLot.cpp',
94
- 'folly/portability/Malloc.cpp'
94
+ 'folly/portability/Malloc.cpp',
95
+ 'folly/concurrency/CacheLocality.h',
96
+ 'folly/synchronization/ParkingLot.h',
97
+ 'folly/synchronization/SanitizeThread.h',
98
+ 'folly/system/ThreadId.h'
95
99
 
96
100
  fabric.preserve_paths = 'folly/concurrency/CacheLocality.h',
97
101
  'folly/synchronization/ParkingLot.h',
@@ -1 +0,0 @@
1
- ae2bec5e1bf5eda6ab21a6bcbdcf2102a70c5a25
@@ -1 +0,0 @@
1
- c096d1d793f4ea26a5d447a3c08c0d270b4d0eb5b3dc6cf7ef109c5b1b8d1288
@@ -1 +0,0 @@
1
- 00ae26c7d0c06f960b2ba7bdc5e7942390b586ce0337c67dd1d08d4d243288db4730aa95b7551c174360674eeb4663d719a05cee0ececb6ee17d51260e22d17b
@@ -1 +0,0 @@
1
- 360a029ccfcc97c4802d2b2fdf34f2be
@@ -1 +0,0 @@
1
- 500aa4ef242ba6f16ad72eb869b52b3bf0f4b1fc
@@ -1 +0,0 @@
1
- e13bab7272f37036164179df6938995ef22619f6bfb7bbb1abb9214bb19ac423
@@ -1 +0,0 @@
1
- d65d387d3b6e7652c96dd9f1f190e7643db811dbe90aa1d6fe143e50429854fe0d17e6672a2584e1b18fecbbb18727bf1abe0cfd5865f9b4c8213dc6a0f59447
@@ -1 +0,0 @@
1
- 1a4a5b5dc0461e88fe31aa85a8bbea18f80c535a
@@ -1 +0,0 @@
1
- 2a535b5797f1c56703cef6c9ef54f0e435e2a4bb0364f5856e82d758adfab7fe
@@ -1 +0,0 @@
1
- 6e57c57369e5d91f713251c6518c4544d6affc2e7b04edb719deea0d709eb6837c8d0b07d8e769dcf58d0b86662b73446539dda916077c5b2bd2156617adf645
@@ -1 +0,0 @@
1
- 1cac927d6fc0fc5d35925d920385f068
@@ -1 +0,0 @@
1
- 081b8d301dcfe2c58d3322dea142fc39f2529252
@@ -1 +0,0 @@
1
- 0cf47303bbf93075c28dfd284b652b43e722d02160dc68889a3fca2ca3d8098d
@@ -1 +0,0 @@
1
- 08995052484f3ac0d8c386a974d2179a055a941bf4f9200cf4c5bade07428db63c1232815dbaed23399770be34c5d8b9960eae294a3b496875441edc8b99a14b