react-native 0.67.0-rc.3 → 0.67.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 (46) hide show
  1. package/Libraries/Components/Keyboard/Keyboard.js +2 -2
  2. package/Libraries/Core/ReactNativeVersion.js +2 -2
  3. package/React/Base/RCTVersion.m +2 -2
  4. package/React/Modules/RCTI18nUtil.h +6 -14
  5. package/React/Modules/RCTI18nUtil.m +47 -1
  6. package/ReactAndroid/gradle.properties +1 -1
  7. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +2 -2
  8. package/ReactCommon/cxxreact/ReactNativeVersion.h +2 -2
  9. package/android/com/facebook/react/react-native/{0.67.0-rc.3/react-native-0.67.0-rc.3.aar → 0.67.0/react-native-0.67.0.aar} +0 -0
  10. package/android/com/facebook/react/react-native/0.67.0/react-native-0.67.0.aar.md5 +1 -0
  11. package/android/com/facebook/react/react-native/0.67.0/react-native-0.67.0.aar.sha1 +1 -0
  12. package/android/com/facebook/react/react-native/0.67.0/react-native-0.67.0.aar.sha256 +1 -0
  13. package/android/com/facebook/react/react-native/0.67.0/react-native-0.67.0.aar.sha512 +1 -0
  14. package/android/com/facebook/react/react-native/{0.67.0-rc.3/react-native-0.67.0-rc.3.module → 0.67.0/react-native-0.67.0.module} +15 -15
  15. package/android/com/facebook/react/react-native/0.67.0/react-native-0.67.0.module.md5 +1 -0
  16. package/android/com/facebook/react/react-native/0.67.0/react-native-0.67.0.module.sha1 +1 -0
  17. package/android/com/facebook/react/react-native/0.67.0/react-native-0.67.0.module.sha256 +1 -0
  18. package/android/com/facebook/react/react-native/0.67.0/react-native-0.67.0.module.sha512 +1 -0
  19. package/android/com/facebook/react/react-native/{0.67.0-rc.3/react-native-0.67.0-rc.3.pom → 0.67.0/react-native-0.67.0.pom} +1 -1
  20. package/android/com/facebook/react/react-native/0.67.0/react-native-0.67.0.pom.md5 +1 -0
  21. package/android/com/facebook/react/react-native/0.67.0/react-native-0.67.0.pom.sha1 +1 -0
  22. package/android/com/facebook/react/react-native/0.67.0/react-native-0.67.0.pom.sha256 +1 -0
  23. package/android/com/facebook/react/react-native/0.67.0/react-native-0.67.0.pom.sha512 +1 -0
  24. package/android/com/facebook/react/react-native/maven-metadata.xml +4 -4
  25. package/android/com/facebook/react/react-native/maven-metadata.xml.md5 +1 -1
  26. package/android/com/facebook/react/react-native/maven-metadata.xml.sha1 +1 -1
  27. package/android/com/facebook/react/react-native/maven-metadata.xml.sha256 +1 -1
  28. package/android/com/facebook/react/react-native/maven-metadata.xml.sha512 +1 -1
  29. package/jest/preprocessor.js +7 -75
  30. package/package.json +3 -2
  31. package/scripts/react-native-xcode.sh +5 -5
  32. package/scripts/react_native_pods.rb +8 -3
  33. package/template/Gemfile.lock +7 -7
  34. package/template/package.json +1 -1
  35. package/android/com/facebook/react/react-native/0.67.0-rc.3/react-native-0.67.0-rc.3.aar.md5 +0 -1
  36. package/android/com/facebook/react/react-native/0.67.0-rc.3/react-native-0.67.0-rc.3.aar.sha1 +0 -1
  37. package/android/com/facebook/react/react-native/0.67.0-rc.3/react-native-0.67.0-rc.3.aar.sha256 +0 -1
  38. package/android/com/facebook/react/react-native/0.67.0-rc.3/react-native-0.67.0-rc.3.aar.sha512 +0 -1
  39. package/android/com/facebook/react/react-native/0.67.0-rc.3/react-native-0.67.0-rc.3.module.md5 +0 -1
  40. package/android/com/facebook/react/react-native/0.67.0-rc.3/react-native-0.67.0-rc.3.module.sha1 +0 -1
  41. package/android/com/facebook/react/react-native/0.67.0-rc.3/react-native-0.67.0-rc.3.module.sha256 +0 -1
  42. package/android/com/facebook/react/react-native/0.67.0-rc.3/react-native-0.67.0-rc.3.module.sha512 +0 -1
  43. package/android/com/facebook/react/react-native/0.67.0-rc.3/react-native-0.67.0-rc.3.pom.md5 +0 -1
  44. package/android/com/facebook/react/react-native/0.67.0-rc.3/react-native-0.67.0-rc.3.pom.sha1 +0 -1
  45. package/android/com/facebook/react/react-native/0.67.0-rc.3/react-native-0.67.0-rc.3.pom.sha256 +0 -1
  46. package/android/com/facebook/react/react-native/0.67.0-rc.3/react-native-0.67.0-rc.3.pom.sha512 +0 -1
@@ -141,9 +141,9 @@ class Keyboard {
141
141
  }
142
142
 
143
143
  /**
144
- * @deprecated Use `remove` on the EventSubscription from `addEventListener`.
144
+ * @deprecated Use `remove` on the EventSubscription from `addListener`.
145
145
  */
146
- removeEventListener<K: $Keys<KeyboardEventDefinitions>>(
146
+ removeListener<K: $Keys<KeyboardEventDefinitions>>(
147
147
  eventType: K,
148
148
  listener: (...$ElementType<KeyboardEventDefinitions, K>) => mixed,
149
149
  ): void {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated by scripts/bump-oss-version.js
2
+ * @generated by scripts/set-rn-version.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
@@ -13,5 +13,5 @@ exports.version = {
13
13
  major: 0,
14
14
  minor: 67,
15
15
  patch: 0,
16
- prerelease: 'rc.3',
16
+ prerelease: null,
17
17
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated by scripts/bump-oss-version.js
2
+ * @generated by scripts/set-rn-version.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
@@ -24,7 +24,7 @@ NSDictionary* RCTGetReactNativeVersion(void)
24
24
  RCTVersionMajor: @(0),
25
25
  RCTVersionMinor: @(67),
26
26
  RCTVersionPatch: @(0),
27
- RCTVersionPrerelease: @"rc.3",
27
+ RCTVersionPrerelease: [NSNull null],
28
28
  };
29
29
  });
30
30
  return __rnVersion;
@@ -18,19 +18,11 @@
18
18
  + (instancetype)sharedInstance;
19
19
 
20
20
  - (BOOL)isRTL;
21
-
22
- /**
23
- * Should be used very early during app start up
24
- * Before the bridge is initialized
25
- */
26
- @property (atomic, setter=allowRTL:) BOOL isRTLAllowed;
27
-
28
- /**
29
- * Could be used to test RTL layout with English
30
- * Used for development and testing purpose
31
- */
32
- @property (atomic, setter=forceRTL:) BOOL isRTLForced;
33
-
34
- @property (atomic, setter=swapLeftAndRightInRTL:) BOOL doLeftAndRightSwapInRTL;
21
+ - (BOOL)isRTLAllowed;
22
+ - (void)allowRTL:(BOOL)value;
23
+ - (BOOL)isRTLForced;
24
+ - (void)forceRTL:(BOOL)value;
25
+ - (BOOL)doLeftAndRightSwapInRTL;
26
+ - (void)swapLeftAndRightInRTL:(BOOL)value;
35
27
 
36
28
  @end
@@ -18,7 +18,6 @@
18
18
  dispatch_once(&onceToken, ^{
19
19
  sharedInstance = [self new];
20
20
  [sharedInstance swapLeftAndRightInRTL:true];
21
- [sharedInstance allowRTL:true];
22
21
  });
23
22
 
24
23
  return sharedInstance;
@@ -41,6 +40,53 @@
41
40
  return NO;
42
41
  }
43
42
 
43
+ /**
44
+ * Should be used very early during app start up
45
+ * Before the bridge is initialized
46
+ * @return whether the app allows RTL layout, default is true
47
+ */
48
+ - (BOOL)isRTLAllowed
49
+ {
50
+ NSNumber *value = [[NSUserDefaults standardUserDefaults] objectForKey:@"RCTI18nUtil_allowRTL"];
51
+ if (value == nil) {
52
+ return YES;
53
+ }
54
+ return [value boolValue];
55
+ }
56
+
57
+ - (void)allowRTL:(BOOL)rtlStatus
58
+ {
59
+ [[NSUserDefaults standardUserDefaults] setBool:rtlStatus forKey:@"RCTI18nUtil_allowRTL"];
60
+ [[NSUserDefaults standardUserDefaults] synchronize];
61
+ }
62
+
63
+ /**
64
+ * Could be used to test RTL layout with English
65
+ * Used for development and testing purpose
66
+ */
67
+ - (BOOL)isRTLForced
68
+ {
69
+ BOOL rtlStatus = [[NSUserDefaults standardUserDefaults] boolForKey:@"RCTI18nUtil_forceRTL"];
70
+ return rtlStatus;
71
+ }
72
+
73
+ - (void)forceRTL:(BOOL)rtlStatus
74
+ {
75
+ [[NSUserDefaults standardUserDefaults] setBool:rtlStatus forKey:@"RCTI18nUtil_forceRTL"];
76
+ [[NSUserDefaults standardUserDefaults] synchronize];
77
+ }
78
+
79
+ - (BOOL)doLeftAndRightSwapInRTL
80
+ {
81
+ return [[NSUserDefaults standardUserDefaults] boolForKey:@"RCTI18nUtil_makeRTLFlipLeftAndRightStyles"];
82
+ }
83
+
84
+ - (void)swapLeftAndRightInRTL:(BOOL)value
85
+ {
86
+ [[NSUserDefaults standardUserDefaults] setBool:value forKey:@"RCTI18nUtil_makeRTLFlipLeftAndRightStyles"];
87
+ [[NSUserDefaults standardUserDefaults] synchronize];
88
+ }
89
+
44
90
  // Check if the current device language is RTL
45
91
  - (BOOL)isDevicePreferredLanguageRTL
46
92
  {
@@ -1,4 +1,4 @@
1
- VERSION_NAME=0.67.0-rc.3
1
+ VERSION_NAME=0.67.0
2
2
  GROUP=com.facebook.react
3
3
 
4
4
  POM_NAME=ReactNative
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @generated by scripts/bump-oss-version.js
2
+ * @generated by scripts/set-rn-version.js
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
@@ -18,5 +18,5 @@ public class ReactNativeVersion {
18
18
  "major", 0,
19
19
  "minor", 67,
20
20
  "patch", 0,
21
- "prerelease", "rc.3");
21
+ "prerelease", null);
22
22
  }
@@ -4,7 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated by scripts/bump-oss-version.js
7
+ * @generated by scripts/set-rn-version.js
8
8
  */
9
9
 
10
10
  #pragma once
@@ -18,7 +18,7 @@ constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 67;
20
20
  int32_t Patch = 0;
21
- std::string_view Prerelease = "rc.3";
21
+ std::string_view Prerelease = "";
22
22
  } ReactNativeVersion;
23
23
 
24
24
  } // namespace facebook::react
@@ -0,0 +1 @@
1
+ 0f0ab3d534e304bb2688e9c0c7300483
@@ -0,0 +1 @@
1
+ 776eb8bb7a71ee61f8ff8a6cc2338a702f2308fe
@@ -0,0 +1 @@
1
+ ba757623ea6e484c61f9cb1d00b0a59d348bdfcf0979ebd6e6f6671f4448393e
@@ -0,0 +1 @@
1
+ 742fe2c46b4367d1ffafbe4c76ed09fd87fe814c4e2d5f2510897ac3737116a99d12fd160512a5fe167c4c277464436bacbb67f65d1331963b79a24e622ff0f5
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "com.facebook.react",
5
5
  "module": "react-native",
6
- "version": "0.67.0-rc.3",
6
+ "version": "0.67.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.67.0-rc.3.aar",
135
- "url": "react-native-0.67.0-rc.3.aar",
136
- "size": 17805006,
137
- "sha512": "3c56f300d61b621f64e9f076e4e650533d514dbbcf4737edaff5bbf23801d84078605203457e93852abd89876f45a0b9959cfc59c68606ed9d9bdf5bf69253cb",
138
- "sha256": "e63284cf15251d5ebc8b48228ca3318226a102ef322c5e8fcbd07a3fae05c532",
139
- "sha1": "0f513c25270a1e8366f17c34b3c00ef2360715e5",
140
- "md5": "832f2a58d926a31acf9cd1949b313503"
134
+ "name": "react-native-0.67.0.aar",
135
+ "url": "react-native-0.67.0.aar",
136
+ "size": 17805002,
137
+ "sha512": "742fe2c46b4367d1ffafbe4c76ed09fd87fe814c4e2d5f2510897ac3737116a99d12fd160512a5fe167c4c277464436bacbb67f65d1331963b79a24e622ff0f5",
138
+ "sha256": "ba757623ea6e484c61f9cb1d00b0a59d348bdfcf0979ebd6e6f6671f4448393e",
139
+ "sha1": "776eb8bb7a71ee61f8ff8a6cc2338a702f2308fe",
140
+ "md5": "0f0ab3d534e304bb2688e9c0c7300483"
141
141
  }
142
142
  ]
143
143
  },
@@ -258,13 +258,13 @@
258
258
  ],
259
259
  "files": [
260
260
  {
261
- "name": "react-native-0.67.0-rc.3.aar",
262
- "url": "react-native-0.67.0-rc.3.aar",
263
- "size": 17805006,
264
- "sha512": "3c56f300d61b621f64e9f076e4e650533d514dbbcf4737edaff5bbf23801d84078605203457e93852abd89876f45a0b9959cfc59c68606ed9d9bdf5bf69253cb",
265
- "sha256": "e63284cf15251d5ebc8b48228ca3318226a102ef322c5e8fcbd07a3fae05c532",
266
- "sha1": "0f513c25270a1e8366f17c34b3c00ef2360715e5",
267
- "md5": "832f2a58d926a31acf9cd1949b313503"
261
+ "name": "react-native-0.67.0.aar",
262
+ "url": "react-native-0.67.0.aar",
263
+ "size": 17805002,
264
+ "sha512": "742fe2c46b4367d1ffafbe4c76ed09fd87fe814c4e2d5f2510897ac3737116a99d12fd160512a5fe167c4c277464436bacbb67f65d1331963b79a24e622ff0f5",
265
+ "sha256": "ba757623ea6e484c61f9cb1d00b0a59d348bdfcf0979ebd6e6f6671f4448393e",
266
+ "sha1": "776eb8bb7a71ee61f8ff8a6cc2338a702f2308fe",
267
+ "md5": "0f0ab3d534e304bb2688e9c0c7300483"
268
268
  }
269
269
  ]
270
270
  }
@@ -0,0 +1 @@
1
+ a924ea861d6421337672e93b5d28eab7
@@ -0,0 +1 @@
1
+ 7f1d1bd3e41d2f2423ea1a0708dd2d967b764993
@@ -0,0 +1 @@
1
+ bd5bde0f3d4d1760edb55d17c7f252a909b753d40e5e0075944bef9a513e34dd
@@ -0,0 +1 @@
1
+ addbb226bca157bb0513251de5b52694f57bef7c22e1d158ca5ded5d27b41d77eacab2625a8c242eabb1493c82f041f5e7490d94f350225dfefc4c6c434c7276
@@ -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.67.0-rc.3</version>
12
+ <version>0.67.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
+ 9b186418f52fbff4e9c4dfe883f61d31
@@ -0,0 +1 @@
1
+ 81beed255384b2c1cb15ec73e39b65fd0c732dcc
@@ -0,0 +1 @@
1
+ 059b61cf0620727ea193475ec0ec1f3ab3bd78db108a632f434a5066ec0efd01
@@ -0,0 +1 @@
1
+ d28f6ca14205821bc686ffcfc188435b01c257eb94fcde62a5ffbb997a519baedd95cab8207ab232c7a62fc5de994108db4f3704c8039b47f504b409ed429844
@@ -3,11 +3,11 @@
3
3
  <groupId>com.facebook.react</groupId>
4
4
  <artifactId>react-native</artifactId>
5
5
  <versioning>
6
- <latest>0.67.0-rc.3</latest>
7
- <release>0.67.0-rc.3</release>
6
+ <latest>0.67.0</latest>
7
+ <release>0.67.0</release>
8
8
  <versions>
9
- <version>0.67.0-rc.3</version>
9
+ <version>0.67.0</version>
10
10
  </versions>
11
- <lastUpdated>20211105224134</lastUpdated>
11
+ <lastUpdated>20220118222330</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 8d1af4d13ebbd82903b5975831ca7653
1
+ 2c45aed1b34a9ed5605f4a8cce5cff46
@@ -1 +1 @@
1
- ba21f562434c3df75615db495251eb3fa79836de
1
+ 715e90a42b03ffa494f91b3f89963cbee2c50622
@@ -1 +1 @@
1
- d458b940e549fb2004edac1a67a1b1ccf0da9b42bf97dc38de0b282324f3f29b
1
+ 1476b653ee4f4d496c3bcba9ea9a00a3a6181a482b95693a41a90d7d2d217abc
@@ -1 +1 @@
1
- 110a5b0926649d43d4b578b440113296ce6f7b4208f7dc913065558078bbbf27b0f128c56ddd3bbda1e6a95198d9c57e33a1bd7f2eda27500ac0c8826b3e4f18
1
+ a7aa0a571ac3b168c11483848e41a2432bff51c6ac9871aa1e0e85c6e77499a8af4ce25820005bb8ffad9d43afc8bb23728b7ccf44f920cb47bb993b705cf1b1
@@ -13,42 +13,10 @@
13
13
  'use strict';
14
14
 
15
15
  const babelRegisterOnly = require('metro-babel-register');
16
- const nullthrows = require('nullthrows');
17
16
  const createCacheKeyFunction = require('@jest/create-cache-key-function')
18
17
  .default;
19
- const t = require('@babel/types');
20
- const {statements} = require('@babel/template').default;
21
18
 
22
- const importDefault = '__importDefault__';
23
- const importAll = '__importAll__';
24
-
25
- // prelude
26
- const importPrelude = statements(`
27
- function ${importDefault}(moduleId) {
28
- const exports = require(moduleId);
29
-
30
- if (exports && exports.__esModule) {
31
- return exports.default;
32
- }
33
-
34
- return exports;
35
- };
36
-
37
- function ${importAll}(moduleId) {
38
- const exports = require(moduleId);
39
-
40
- if (exports && exports.__esModule) {
41
- return exports;
42
- }
43
-
44
- return Object.assign({}, exports, {default: exports});
45
- };
46
- `);
47
-
48
- const {
49
- transformSync: babelTransformSync,
50
- transformFromAstSync: babelTransformFromAstSync,
51
- } = require('@babel/core');
19
+ const {transformSync: babelTransformSync} = require('@babel/core');
52
20
  const generate = require('@babel/generator').default;
53
21
 
54
22
  const nodeFiles = new RegExp(
@@ -73,13 +41,13 @@ module.exports = {
73
41
  }).code;
74
42
  }
75
43
 
76
- let {ast} = transformer.transform({
44
+ const {ast} = transformer.transform({
77
45
  filename: file,
78
46
  options: {
79
47
  ast: true, // needed for open source (?) https://github.com/facebook/react-native/commit/f8d6b97140cffe8d18b2558f94570c8d1b410d5c#r28647044
80
48
  dev: true,
81
49
  enableBabelRuntime: false,
82
- experimentalImportSupport: true,
50
+ experimentalImportSupport: false,
83
51
  globalPrefix: '',
84
52
  hot: false,
85
53
  inlineRequires: true,
@@ -111,6 +79,10 @@ module.exports = {
111
79
  [require('@babel/plugin-transform-regenerator')],
112
80
  [require('@babel/plugin-transform-sticky-regex')],
113
81
  [require('@babel/plugin-transform-unicode-regex')],
82
+ [
83
+ require('@babel/plugin-transform-modules-commonjs'),
84
+ {strict: false, allowTopLevelThis: true},
85
+ ],
114
86
  [require('@babel/plugin-transform-classes')],
115
87
  [require('@babel/plugin-transform-arrow-functions')],
116
88
  [require('@babel/plugin-transform-spread')],
@@ -127,46 +99,6 @@ module.exports = {
127
99
  ],
128
100
  });
129
101
 
130
- // We're not using @babel/plugin-transform-modules-commonjs so
131
- // we need to add 'use strict' manually
132
- const directives = ast.program.directives;
133
-
134
- if (
135
- ast.program.sourceType === 'module' &&
136
- (directives == null ||
137
- directives.findIndex(d => d.value.value === 'use strict') === -1)
138
- ) {
139
- ast.program.directives = [
140
- ...(directives || []),
141
- t.directive(t.directiveLiteral('use strict')),
142
- ];
143
- }
144
-
145
- // Postprocess the transformed module to handle ESM and inline requires.
146
- // We need to do this in a separate pass to avoid issues tracking references.
147
- const babelTransformResult = babelTransformFromAstSync(ast, src, {
148
- ast: true,
149
- retainLines: true,
150
- plugins: [
151
- [
152
- require('metro-transform-plugins').importExportPlugin,
153
- {importDefault, importAll},
154
- ],
155
- [
156
- require('babel-preset-fbjs/plugins/inline-requires.js'),
157
- {inlineableCalls: [importDefault, importAll]},
158
- ],
159
- ],
160
- sourceType: 'module',
161
- });
162
-
163
- ast = nullthrows(babelTransformResult.ast);
164
-
165
- // Inject import helpers *after* running the inline-requires transform,
166
- // because otherwise it will assume they are user code and bail out of
167
- // inlining calls to them.
168
- ast.program.body.unshift(...importPrelude());
169
-
170
102
  return generate(
171
103
  ast,
172
104
  // $FlowFixMe[prop-missing] Error found when improving flow typing for libs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native",
3
- "version": "0.67.0-rc.3",
3
+ "version": "0.67.0",
4
4
  "bin": "./cli.js",
5
5
  "description": "A framework for building native apps using React",
6
6
  "license": "MIT",
@@ -156,7 +156,8 @@
156
156
  "shelljs": "^0.7.8",
157
157
  "signedsource": "^1.0.0",
158
158
  "ws": "^6.1.4",
159
- "yargs": "^15.3.1"
159
+ "yargs": "^15.3.1",
160
+ "inquirer": "^7.1.0"
160
161
  },
161
162
  "detox": {
162
163
  "test-runner": "jest",
@@ -117,7 +117,7 @@ fi
117
117
 
118
118
  BUNDLE_FILE="$CONFIGURATION_BUILD_DIR/main.jsbundle"
119
119
 
120
- EXTRA_ARGS=()
120
+ EXTRA_ARGS=
121
121
 
122
122
  case "$PLATFORM_NAME" in
123
123
  "macosx")
@@ -144,12 +144,12 @@ if [[ $EMIT_SOURCEMAP == true ]]; then
144
144
  else
145
145
  PACKAGER_SOURCEMAP_FILE="$SOURCEMAP_FILE"
146
146
  fi
147
- EXTRA_ARGS+=("--sourcemap-output" "$PACKAGER_SOURCEMAP_FILE")
147
+ EXTRA_ARGS="$EXTRA_ARGS --sourcemap-output $PACKAGER_SOURCEMAP_FILE"
148
148
  fi
149
149
 
150
150
  # Hermes doesn't require JS minification.
151
151
  if [[ $USE_HERMES == true && $DEV == false ]]; then
152
- EXTRA_ARGS+=("--minify" "false")
152
+ EXTRA_ARGS="$EXTRA_ARGS --minify false"
153
153
  fi
154
154
 
155
155
  "$NODE_BINARY" $NODE_ARGS "$CLI_PATH" $BUNDLE_COMMAND \
@@ -160,8 +160,8 @@ fi
160
160
  --reset-cache \
161
161
  --bundle-output "$BUNDLE_FILE" \
162
162
  --assets-dest "$DEST" \
163
- "${EXTRA_ARGS[@]}" \
164
- "${EXTRA_PACKAGER_ARGS[@]}"
163
+ $EXTRA_ARGS \
164
+ $EXTRA_PACKAGER_ARGS
165
165
 
166
166
  if [[ $USE_HERMES != true ]]; then
167
167
  cp "$BUNDLE_FILE" "$DEST/"
@@ -380,13 +380,18 @@ def __apply_Xcode_12_5_M1_post_install_workaround(installer)
380
380
  # The most reliable known workaround is to bump iOS deployment target to match react-native (iOS 11 now).
381
381
  installer.pods_project.targets.each do |target|
382
382
  target.build_configurations.each do |config|
383
- config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
383
+ # ensure IPHONEOS_DEPLOYMENT_TARGET is at least 11.0
384
+ deployment_target = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f
385
+ should_upgrade = deployment_target < 11.0 && deployment_target != 0.0
386
+ if should_upgrade
387
+ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
384
388
  end
389
+ end
385
390
  end
386
391
 
387
392
  # But... doing so caused another issue in Flipper:
388
393
  # "Time.h:52:17: error: typedef redefinition with different types"
389
- # We need to make a patch to RCT-Folly - set `__IPHONE_10_0` to our iOS target + 1.
394
+ # We need to make a patch to RCT-Folly - remove the `__IPHONE_OS_VERSION_MIN_REQUIRED` check.
390
395
  # See https://github.com/facebook/flipper/issues/834 for more details.
391
- `sed -i -e $'s/__IPHONE_10_0/__IPHONE_12_0/' Pods/RCT-Folly/folly/portability/Time.h`
396
+ `sed -i -e $'s/ && (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_10_0)//' Pods/RCT-Folly/folly/portability/Time.h`
392
397
  end
@@ -1,9 +1,9 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- CFPropertyList (3.0.4)
4
+ CFPropertyList (3.0.5)
5
5
  rexml
6
- activesupport (6.1.4.1)
6
+ activesupport (6.1.4.4)
7
7
  concurrent-ruby (~> 1.0, >= 1.0.2)
8
8
  i18n (>= 1.6, < 2)
9
9
  minitest (>= 5.1)
@@ -15,7 +15,7 @@ GEM
15
15
  httpclient (~> 2.8, >= 2.8.3)
16
16
  json (>= 1.5.1)
17
17
  atomos (0.1.3)
18
- claide (1.0.3)
18
+ claide (1.1.0)
19
19
  cocoapods (1.11.2)
20
20
  addressable (~> 2.8)
21
21
  claide (>= 1.0.2, < 2.0)
@@ -58,7 +58,7 @@ GEM
58
58
  escape (0.0.4)
59
59
  ethon (0.15.0)
60
60
  ffi (>= 1.15.0)
61
- ffi (1.15.4)
61
+ ffi (1.15.5)
62
62
  fourflusher (2.3.1)
63
63
  fuzzy_match (2.0.4)
64
64
  gh_inspector (1.1.3)
@@ -66,7 +66,7 @@ GEM
66
66
  i18n (1.8.11)
67
67
  concurrent-ruby (~> 1.0)
68
68
  json (2.6.1)
69
- minitest (5.14.4)
69
+ minitest (5.15.0)
70
70
  molinillo (0.8.0)
71
71
  nanaimo (0.3.0)
72
72
  nap (1.1.0)
@@ -85,7 +85,7 @@ GEM
85
85
  colored2 (~> 3.1)
86
86
  nanaimo (~> 0.3.0)
87
87
  rexml (~> 3.2.4)
88
- zeitwerk (2.5.1)
88
+ zeitwerk (2.5.3)
89
89
 
90
90
  PLATFORMS
91
91
  ruby
@@ -97,4 +97,4 @@ RUBY VERSION
97
97
  ruby 2.7.4p191
98
98
 
99
99
  BUNDLED WITH
100
- 2.2.29
100
+ 2.2.27
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "react": "17.0.2",
14
- "react-native": "0.67.0-rc.3"
14
+ "react-native": "0.67.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@babel/core": "^7.12.9",
@@ -1 +0,0 @@
1
- 832f2a58d926a31acf9cd1949b313503
@@ -1 +0,0 @@
1
- 0f513c25270a1e8366f17c34b3c00ef2360715e5
@@ -1 +0,0 @@
1
- e63284cf15251d5ebc8b48228ca3318226a102ef322c5e8fcbd07a3fae05c532
@@ -1 +0,0 @@
1
- 3c56f300d61b621f64e9f076e4e650533d514dbbcf4737edaff5bbf23801d84078605203457e93852abd89876f45a0b9959cfc59c68606ed9d9bdf5bf69253cb
@@ -1 +0,0 @@
1
- d4a7dddb4c0edb66bbaa1167efcfdf9bee1795c8
@@ -1 +0,0 @@
1
- f09140c714f7a89aee6d6de560b53e9833424fcfaad6ad487723496e7c395161
@@ -1 +0,0 @@
1
- 9af0c9b227809fc86ca6527f05c0105e73e2d362a13cb38ba7d547fd7cb781a882526772f3c67b5d2e593e186801eaf32038ca29ac370b0542d8e63b460fb7c0
@@ -1 +0,0 @@
1
- 366c176f92ee056033fe7d71d4e28ff3
@@ -1 +0,0 @@
1
- 0d1ad039c0912c762525757725647c706941dacf
@@ -1 +0,0 @@
1
- 3cb6f4fe8693bfe8e9fc2e79a8a5e5b7e4c39e7f6546fa7a4e82e918d59823ef
@@ -1 +0,0 @@
1
- 757c4b6efb0e9ce269dbc55b76c13ac64594250ebf1bf34684d5681722a9d584d271089a2448ed30530457d765d7803705dd8df43bfab6cef19272e61c9e9d75