react-native 0.68.0-rc.2 → 0.68.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 (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/react-native-0.68.0-sources.jar} +0 -0
  22. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0-sources.jar.md5 +1 -0
  23. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0-sources.jar.sha1 +1 -0
  24. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0-sources.jar.sha256 +1 -0
  25. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0-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/react-native-0.68.0.aar} +0 -0
  27. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0.aar.md5 +1 -0
  28. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0.aar.sha1 +1 -0
  29. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0.aar.sha256 +1 -0
  30. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0.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/react-native-0.68.0.module} +15 -15
  32. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0.module.md5 +1 -0
  33. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0.module.sha1 +1 -0
  34. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0.module.sha256 +1 -0
  35. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0.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/react-native-0.68.0.pom} +1 -1
  37. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0.pom.md5 +1 -0
  38. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0.pom.sha1 +1 -0
  39. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0.pom.sha256 +1 -0
  40. package/android/com/facebook/react/react-native/0.68.0/react-native-0.68.0.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 +21 -9
  49. package/template/Gemfile.lock +6 -6
  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: null,
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: [NSNull null],
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
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", null);
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 = "";
22
22
  } ReactNativeVersion;
23
23
 
24
24
  } // namespace facebook::react
@@ -0,0 +1 @@
1
+ f55f14f3cb63996d8926c0c50b31ca7e
@@ -0,0 +1 @@
1
+ f1157badf388f789f013ef88ff83fec36d107879
@@ -0,0 +1 @@
1
+ 08b0a2af4acb5cf0d3ab072ab97678cce5c737be4abe1d789106e79a634a4a78
@@ -0,0 +1 @@
1
+ c5ff3d246480499c0cb9046e14a282e5a65096c0e142afd59285c5f2774538736d2b471b25b766adf13cf9195aa321757bc7062041d6c7cc5b755e5d28d84114
@@ -0,0 +1 @@
1
+ 2f6d18f351a74956794b0b63beb654bd
@@ -0,0 +1 @@
1
+ 25f59181482778ded26dd92dfd48a09a862ce517
@@ -0,0 +1 @@
1
+ 046ffa8f0429c2162c3394bda1d48504b40d5f2edec64ff0e8f40d165c15fdc8
@@ -0,0 +1 @@
1
+ 9d2f4f291d6ea65ff4a58f45f513d4304c3103c6c37cbdce8106bb6570d75fe86e690a20cab5b156882725e3e05682efbd8b5cf6f1457eaae8c649256fbba292
@@ -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",
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.aar",
135
+ "url": "react-native-0.68.0.aar",
136
+ "size": 16395214,
137
+ "sha512": "9d2f4f291d6ea65ff4a58f45f513d4304c3103c6c37cbdce8106bb6570d75fe86e690a20cab5b156882725e3e05682efbd8b5cf6f1457eaae8c649256fbba292",
138
+ "sha256": "046ffa8f0429c2162c3394bda1d48504b40d5f2edec64ff0e8f40d165c15fdc8",
139
+ "sha1": "25f59181482778ded26dd92dfd48a09a862ce517",
140
+ "md5": "2f6d18f351a74956794b0b63beb654bd"
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.aar",
262
+ "url": "react-native-0.68.0.aar",
263
+ "size": 16395214,
264
+ "sha512": "9d2f4f291d6ea65ff4a58f45f513d4304c3103c6c37cbdce8106bb6570d75fe86e690a20cab5b156882725e3e05682efbd8b5cf6f1457eaae8c649256fbba292",
265
+ "sha256": "046ffa8f0429c2162c3394bda1d48504b40d5f2edec64ff0e8f40d165c15fdc8",
266
+ "sha1": "25f59181482778ded26dd92dfd48a09a862ce517",
267
+ "md5": "2f6d18f351a74956794b0b63beb654bd"
268
268
  }
269
269
  ]
270
270
  }
@@ -0,0 +1 @@
1
+ fce6f3ceed3118cb39b58f928fdb309b
@@ -0,0 +1 @@
1
+ 087308dfec1d3631a325de0f4c8c23acaae49f99
@@ -0,0 +1 @@
1
+ b3ff73e4c796c20574945d59b08a660d2a88f4dca0a413d1759bdfcfb78124c3
@@ -0,0 +1 @@
1
+ 44ef2181904ef6cca1185b2faa667d8597dc46dc0913520f4009d5706c5a4988f5cd08d9c824df1319738924543d9ccfa3bb41da105e85eccd80a46b02b9f960
@@ -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</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
+ 9348643a6ce425618d88eff074bcaf7d
@@ -0,0 +1 @@
1
+ 92d1831034da7be880a07c0aff21f52dc4946651
@@ -0,0 +1 @@
1
+ 0c40aa19de1ba78a4df4ea9b327a6844f925e75e99efa9eff3460201012955e5
@@ -0,0 +1 @@
1
+ 824bab0661fc5c82682dc478803dd697568824cd1436ac3af04dff98c2cf1c78e480ad048cdb966a6c00ef8f5fffc16c252792b6509660522c42ef669c207df8
@@ -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</latest>
7
+ <release>0.68.0</release>
8
8
  <versions>
9
- <version>0.68.0-rc.2</version>
9
+ <version>0.68.0</version>
10
10
  </versions>
11
- <lastUpdated>20220224173052</lastUpdated>
11
+ <lastUpdated>20220330145343</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 3b19734776929fa5018cb9ea29a72206
1
+ 64d75baf42f1c48e46f54b96023e9475
@@ -1 +1 @@
1
- df094a38c2f4a6287fc6fbe38b0f295d596f22f3
1
+ 1bfb56a90540f8b56249136b3a228a47f2aff51a
@@ -1 +1 @@
1
- 5de8853cc407555e54e74f3bacfa5c26f34adab6d5b480e2da7e109405fc6227
1
+ 26caf0e0e938f96fac4e91f519b55f03fccc5405150ce29513330e0b9f3fc4e5
@@ -1 +1 @@
1
- fa850e13d54b106ce4f6c32cd08493f703f3e231a264079e5f2dbf307229c49a39d03bd1f252770c9db1a34c4db625e180ee0f10c842036bcec50bd15ff41a38
1
+ 8d2bc7651f9dde50733c00da2c4b855f89750f5c7fa08f9089b0b3b00077568ab02219d8eb5dd483322ae694bf779460a08f0da787a08f31f8c83af67f2b46e0
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",
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'
@@ -176,6 +176,15 @@ def flipper_post_install(installer)
176
176
  config.build_settings['SWIFT_VERSION'] = '4.1'
177
177
  end
178
178
  end
179
+
180
+ # Enable flipper for React-Core Debug configuration
181
+ if target.name == 'React-Core'
182
+ target.build_configurations.each do |config|
183
+ if config.name == 'Debug'
184
+ config.build_settings['OTHER_CFLAGS'] = "$(inherited) -DFB_SONARKIT_ENABLED=1"
185
+ end
186
+ end
187
+ end
179
188
  end
180
189
  end
181
190
 
@@ -271,8 +280,9 @@ def modify_flags_for_new_architecture(installer, cpp_flags)
271
280
  end
272
281
 
273
282
  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";
283
+ relative_installation_root = Pod::Config.instance.installation_root.relative_path_from(Pathname.pwd)
284
+ codegen_repo_path = "#{relative_installation_root}/#{react_native_path}/packages/react-native-codegen";
285
+ codegen_npm_path = "#{relative_installation_root}/#{react_native_path}/../react-native-codegen";
276
286
  codegen_cli_path = ""
277
287
  if Dir.exist?(codegen_repo_path)
278
288
  codegen_cli_path = codegen_repo_path
@@ -313,7 +323,7 @@ def checkAndGenerateEmptyThirdPartyProvider!(react_native_path)
313
323
  Pod::Executable.execute_command(
314
324
  'node',
315
325
  [
316
- "#{react_native_path}/scripts/generate-provider-cli.js",
326
+ "#{relative_installation_root}/#{react_native_path}/scripts/generate-provider-cli.js",
317
327
  "--platform", 'ios',
318
328
  "--schemaListPath", temp_schema_list_path,
319
329
  "--outputDir", "#{output_dir}"
@@ -503,6 +513,7 @@ def use_react_native_codegen_discovery!(options={})
503
513
  app_path = options[:app_path]
504
514
  fabric_enabled = options[:fabric_enabled] ||= false
505
515
  config_file_dir = options[:config_file_dir] ||= ''
516
+ relative_installation_root = Pod::Config.instance.installation_root.relative_path_from(Pathname.pwd)
506
517
 
507
518
  if !app_path
508
519
  Pod::UI.warn '[Codegen] Error: app_path is required for use_react_native_codegen_discovery.'
@@ -518,7 +529,7 @@ def use_react_native_codegen_discovery!(options={})
518
529
  out = Pod::Executable.execute_command(
519
530
  'node',
520
531
  [
521
- "#{react_native_path}/scripts/generate-artifacts.js",
532
+ "#{relative_installation_root}/#{react_native_path}/scripts/generate-artifacts.js",
522
533
  "-p", "#{app_path}",
523
534
  "-o", Pod::Config.instance.installation_root,
524
535
  "-e", "#{fabric_enabled}",
@@ -540,6 +551,7 @@ def use_react_native_codegen!(spec, options={})
540
551
  library_name = options[:library_name] ||= "#{spec.name.gsub('_','-').split('-').collect(&:capitalize).join}Spec"
541
552
  Pod::UI.puts "[Codegen] Found #{library_name}"
542
553
 
554
+ relative_installation_root = Pod::Config.instance.installation_root.relative_path_from(Pathname.pwd)
543
555
  output_dir = options[:output_dir] ||= $CODEGEN_OUTPUT_DIR
544
556
  output_dir_module = "#{output_dir}/#{$CODEGEN_MODULE_DIR}"
545
557
  output_dir_component = "#{output_dir}/#{$CODEGEN_COMPONENT_DIR}"
@@ -547,7 +559,7 @@ def use_react_native_codegen!(spec, options={})
547
559
  codegen_config = {
548
560
  "modules" => {
549
561
  :js_srcs_pattern => "Native*.js",
550
- :generated_dir => "#{Pod::Config.instance.installation_root}/#{output_dir_module}/#{library_name}",
562
+ :generated_dir => "#{relative_installation_root}/#{output_dir_module}/#{library_name}",
551
563
  :generated_files => [
552
564
  "#{library_name}.h",
553
565
  "#{library_name}-generated.mm"
@@ -555,7 +567,7 @@ def use_react_native_codegen!(spec, options={})
555
567
  },
556
568
  "components" => {
557
569
  :js_srcs_pattern => "*NativeComponent.js",
558
- :generated_dir => "#{Pod::Config.instance.installation_root}/#{output_dir_component}/#{library_name}",
570
+ :generated_dir => "#{relative_installation_root}/#{output_dir_component}/#{library_name}",
559
571
  :generated_files => [
560
572
  "ComponentDescriptors.h",
561
573
  "EventEmitters.cpp",
@@ -604,7 +616,7 @@ def use_react_native_codegen!(spec, options={})
604
616
  spec.script_phase = {
605
617
  :name => 'Generate Specs',
606
618
  :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}"} ),
619
+ :output_files => ["${DERIVED_FILE_DIR}/codegen-#{library_name}.log"].concat(generated_files.map { |filename| "${PODS_TARGET_SRCROOT}/#{filename}"} ),
608
620
  # The final generated files will be created when this script is invoked at Xcode build time.
609
621
  :script => get_script_phases_no_codegen_discovery(
610
622
  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)
@@ -45,7 +45,7 @@ GEM
45
45
  public_suffix (~> 4.0)
46
46
  typhoeus (~> 1.0)
47
47
  cocoapods-deintegrate (1.0.5)
48
- cocoapods-downloader (1.5.1)
48
+ cocoapods-downloader (1.6.2)
49
49
  cocoapods-plugins (1.0.0)
50
50
  nap
51
51
  cocoapods-search (1.0.1)
@@ -54,7 +54,7 @@ GEM
54
54
  netrc (~> 0.11)
55
55
  cocoapods-try (1.2.0)
56
56
  colored2 (3.1.2)
57
- concurrent-ruby (1.1.9)
57
+ concurrent-ruby (1.1.10)
58
58
  escape (0.0.4)
59
59
  ethon (0.15.0)
60
60
  ffi (>= 1.15.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"
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