Parcourir la source

feat(rn,deps) update React Native to 0.67

master
Saúl Ibarra Corretgé il y a 3 ans
Parent
révision
23f40db889

+ 36
- 0
android/app/src/main/res/drawable/rn_edit_text_material.xml Voir le fichier

@@ -0,0 +1,36 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Copyright (C) 2014 The Android Open Source Project
3
+
4
+     Licensed under the Apache License, Version 2.0 (the "License");
5
+     you may not use this file except in compliance with the License.
6
+     You may obtain a copy of the License at
7
+
8
+          http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+     Unless required by applicable law or agreed to in writing, software
11
+     distributed under the License is distributed on an "AS IS" BASIS,
12
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+     See the License for the specific language governing permissions and
14
+     limitations under the License.
15
+-->
16
+<inset xmlns:android="http://schemas.android.com/apk/res/android"
17
+       android:insetLeft="@dimen/abc_edit_text_inset_horizontal_material"
18
+       android:insetRight="@dimen/abc_edit_text_inset_horizontal_material"
19
+       android:insetTop="@dimen/abc_edit_text_inset_top_material"
20
+       android:insetBottom="@dimen/abc_edit_text_inset_bottom_material">
21
+
22
+    <selector>
23
+        <!-- 
24
+          This file is a copy of abc_edit_text_material (https://bit.ly/3k8fX7I).
25
+          The item below with state_pressed="false" and state_focused="false" causes a NullPointerException.
26
+          NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)'
27
+
28
+          <item android:state_pressed="false" android:state_focused="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
29
+
30
+          For more info, see https://bit.ly/3CdLStv (react-native/pull/29452) and https://bit.ly/3nxOMoR.
31
+        -->
32
+        <item android:state_enabled="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
33
+        <item android:drawable="@drawable/abc_textfield_activated_mtrl_alpha"/>
34
+    </selector>
35
+
36
+</inset>

+ 1
- 0
android/app/src/main/res/values/styles.xml Voir le fichier

@@ -2,6 +2,7 @@
2 2
     <!-- Base application theme. -->
3 3
     <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
4 4
         <!-- Customize your theme here. -->
5
+        <item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
5 6
         <item name="android:navigationBarColor">@color/colorPrimaryDark</item>
6 7
         <item name="android:windowDisablePreview">true</item>
7 8
    </style>

+ 1
- 1
android/gradle.properties Voir le fichier

@@ -9,7 +9,7 @@
9 9
 
10 10
 # Specifies the JVM arguments used for the daemon process.
11 11
 # The setting is particularly useful for tweaking memory settings.
12
-# Default value: -Xmx10248m -XX:MaxPermSize=256m
12
+# Default value: -Xmx1024m -XX:MaxPermSize=256m
13 13
 
14 14
 org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
15 15
 

+ 1
- 1
android/gradle/wrapper/gradle-wrapper.properties Voir le fichier

@@ -1,5 +1,5 @@
1 1
 distributionBase=GRADLE_USER_HOME
2 2
 distributionPath=wrapper/dists
3
-distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
3
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
4 4
 zipStoreBase=GRADLE_USER_HOME
5 5
 zipStorePath=wrapper/dists

+ 1
- 3
ios/Podfile Voir le fichier

@@ -35,6 +35,7 @@ end
35 35
 
36 36
 post_install do |installer|
37 37
   react_native_post_install(installer)
38
+  __apply_Xcode_12_5_M1_post_install_workaround(installer)
38 39
   installer.pods_project.targets.each do |target|
39 40
     target.build_configurations.each do |config|
40 41
       config.build_settings['ENABLE_BITCODE'] = 'YES'
@@ -42,7 +43,4 @@ post_install do |installer|
42 43
       config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
43 44
     end
44 45
   end
45
-  # https://github.com/facebook/react-native/blob/d7f748a944a9a9324e485ccbe214098e6c8645fc/scripts/react_native_pods.rb#L630
46
-  time_header = "#{Pod::Config.instance.installation_root.to_s}/Pods/RCT-Folly/folly/portability/Time.h"
47
-  `sed -i -e  $'s/ && (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_10_0)//' #{time_header}`
48 46
 end

+ 207
- 207
ios/Podfile.lock Voir le fichier

@@ -13,14 +13,14 @@ PODS:
13 13
     - CocoaLumberjack/Core (= 3.7.2)
14 14
   - CocoaLumberjack/Core (3.7.2)
15 15
   - DoubleConversion (1.1.6)
16
-  - FBLazyVector (0.66.4)
17
-  - FBReactNativeSpec (0.66.4):
16
+  - FBLazyVector (0.67.4)
17
+  - FBReactNativeSpec (0.67.4):
18 18
     - RCT-Folly (= 2021.06.28.00-v2)
19
-    - RCTRequired (= 0.66.4)
20
-    - RCTTypeSafety (= 0.66.4)
21
-    - React-Core (= 0.66.4)
22
-    - React-jsi (= 0.66.4)
23
-    - ReactCommon/turbomodule/core (= 0.66.4)
19
+    - RCTRequired (= 0.67.4)
20
+    - RCTTypeSafety (= 0.67.4)
21
+    - React-Core (= 0.67.4)
22
+    - React-jsi (= 0.67.4)
23
+    - ReactCommon/turbomodule/core (= 0.67.4)
24 24
   - Firebase/Analytics (6.33.0):
25 25
     - Firebase/Core
26 26
   - Firebase/Core (6.33.0):
@@ -134,192 +134,192 @@ PODS:
134 134
     - DoubleConversion
135 135
     - fmt (~> 6.2.1)
136 136
     - glog
137
-  - RCTRequired (0.66.4)
138
-  - RCTTypeSafety (0.66.4):
139
-    - FBLazyVector (= 0.66.4)
137
+  - RCTRequired (0.67.4)
138
+  - RCTTypeSafety (0.67.4):
139
+    - FBLazyVector (= 0.67.4)
140 140
     - RCT-Folly (= 2021.06.28.00-v2)
141
-    - RCTRequired (= 0.66.4)
142
-    - React-Core (= 0.66.4)
143
-  - React (0.66.4):
144
-    - React-Core (= 0.66.4)
145
-    - React-Core/DevSupport (= 0.66.4)
146
-    - React-Core/RCTWebSocket (= 0.66.4)
147
-    - React-RCTActionSheet (= 0.66.4)
148
-    - React-RCTAnimation (= 0.66.4)
149
-    - React-RCTBlob (= 0.66.4)
150
-    - React-RCTImage (= 0.66.4)
151
-    - React-RCTLinking (= 0.66.4)
152
-    - React-RCTNetwork (= 0.66.4)
153
-    - React-RCTSettings (= 0.66.4)
154
-    - React-RCTText (= 0.66.4)
155
-    - React-RCTVibration (= 0.66.4)
156
-  - React-callinvoker (0.66.4)
157
-  - React-Core (0.66.4):
141
+    - RCTRequired (= 0.67.4)
142
+    - React-Core (= 0.67.4)
143
+  - React (0.67.4):
144
+    - React-Core (= 0.67.4)
145
+    - React-Core/DevSupport (= 0.67.4)
146
+    - React-Core/RCTWebSocket (= 0.67.4)
147
+    - React-RCTActionSheet (= 0.67.4)
148
+    - React-RCTAnimation (= 0.67.4)
149
+    - React-RCTBlob (= 0.67.4)
150
+    - React-RCTImage (= 0.67.4)
151
+    - React-RCTLinking (= 0.67.4)
152
+    - React-RCTNetwork (= 0.67.4)
153
+    - React-RCTSettings (= 0.67.4)
154
+    - React-RCTText (= 0.67.4)
155
+    - React-RCTVibration (= 0.67.4)
156
+  - React-callinvoker (0.67.4)
157
+  - React-Core (0.67.4):
158 158
     - glog
159 159
     - RCT-Folly (= 2021.06.28.00-v2)
160
-    - React-Core/Default (= 0.66.4)
161
-    - React-cxxreact (= 0.66.4)
162
-    - React-jsi (= 0.66.4)
163
-    - React-jsiexecutor (= 0.66.4)
164
-    - React-perflogger (= 0.66.4)
160
+    - React-Core/Default (= 0.67.4)
161
+    - React-cxxreact (= 0.67.4)
162
+    - React-jsi (= 0.67.4)
163
+    - React-jsiexecutor (= 0.67.4)
164
+    - React-perflogger (= 0.67.4)
165 165
     - Yoga
166
-  - React-Core/CoreModulesHeaders (0.66.4):
166
+  - React-Core/CoreModulesHeaders (0.67.4):
167 167
     - glog
168 168
     - RCT-Folly (= 2021.06.28.00-v2)
169 169
     - React-Core/Default
170
-    - React-cxxreact (= 0.66.4)
171
-    - React-jsi (= 0.66.4)
172
-    - React-jsiexecutor (= 0.66.4)
173
-    - React-perflogger (= 0.66.4)
170
+    - React-cxxreact (= 0.67.4)
171
+    - React-jsi (= 0.67.4)
172
+    - React-jsiexecutor (= 0.67.4)
173
+    - React-perflogger (= 0.67.4)
174 174
     - Yoga
175
-  - React-Core/Default (0.66.4):
175
+  - React-Core/Default (0.67.4):
176 176
     - glog
177 177
     - RCT-Folly (= 2021.06.28.00-v2)
178
-    - React-cxxreact (= 0.66.4)
179
-    - React-jsi (= 0.66.4)
180
-    - React-jsiexecutor (= 0.66.4)
181
-    - React-perflogger (= 0.66.4)
178
+    - React-cxxreact (= 0.67.4)
179
+    - React-jsi (= 0.67.4)
180
+    - React-jsiexecutor (= 0.67.4)
181
+    - React-perflogger (= 0.67.4)
182 182
     - Yoga
183
-  - React-Core/DevSupport (0.66.4):
183
+  - React-Core/DevSupport (0.67.4):
184 184
     - glog
185 185
     - RCT-Folly (= 2021.06.28.00-v2)
186
-    - React-Core/Default (= 0.66.4)
187
-    - React-Core/RCTWebSocket (= 0.66.4)
188
-    - React-cxxreact (= 0.66.4)
189
-    - React-jsi (= 0.66.4)
190
-    - React-jsiexecutor (= 0.66.4)
191
-    - React-jsinspector (= 0.66.4)
192
-    - React-perflogger (= 0.66.4)
186
+    - React-Core/Default (= 0.67.4)
187
+    - React-Core/RCTWebSocket (= 0.67.4)
188
+    - React-cxxreact (= 0.67.4)
189
+    - React-jsi (= 0.67.4)
190
+    - React-jsiexecutor (= 0.67.4)
191
+    - React-jsinspector (= 0.67.4)
192
+    - React-perflogger (= 0.67.4)
193 193
     - Yoga
194
-  - React-Core/RCTActionSheetHeaders (0.66.4):
194
+  - React-Core/RCTActionSheetHeaders (0.67.4):
195 195
     - glog
196 196
     - RCT-Folly (= 2021.06.28.00-v2)
197 197
     - React-Core/Default
198
-    - React-cxxreact (= 0.66.4)
199
-    - React-jsi (= 0.66.4)
200
-    - React-jsiexecutor (= 0.66.4)
201
-    - React-perflogger (= 0.66.4)
198
+    - React-cxxreact (= 0.67.4)
199
+    - React-jsi (= 0.67.4)
200
+    - React-jsiexecutor (= 0.67.4)
201
+    - React-perflogger (= 0.67.4)
202 202
     - Yoga
203
-  - React-Core/RCTAnimationHeaders (0.66.4):
203
+  - React-Core/RCTAnimationHeaders (0.67.4):
204 204
     - glog
205 205
     - RCT-Folly (= 2021.06.28.00-v2)
206 206
     - React-Core/Default
207
-    - React-cxxreact (= 0.66.4)
208
-    - React-jsi (= 0.66.4)
209
-    - React-jsiexecutor (= 0.66.4)
210
-    - React-perflogger (= 0.66.4)
207
+    - React-cxxreact (= 0.67.4)
208
+    - React-jsi (= 0.67.4)
209
+    - React-jsiexecutor (= 0.67.4)
210
+    - React-perflogger (= 0.67.4)
211 211
     - Yoga
212
-  - React-Core/RCTBlobHeaders (0.66.4):
212
+  - React-Core/RCTBlobHeaders (0.67.4):
213 213
     - glog
214 214
     - RCT-Folly (= 2021.06.28.00-v2)
215 215
     - React-Core/Default
216
-    - React-cxxreact (= 0.66.4)
217
-    - React-jsi (= 0.66.4)
218
-    - React-jsiexecutor (= 0.66.4)
219
-    - React-perflogger (= 0.66.4)
216
+    - React-cxxreact (= 0.67.4)
217
+    - React-jsi (= 0.67.4)
218
+    - React-jsiexecutor (= 0.67.4)
219
+    - React-perflogger (= 0.67.4)
220 220
     - Yoga
221
-  - React-Core/RCTImageHeaders (0.66.4):
221
+  - React-Core/RCTImageHeaders (0.67.4):
222 222
     - glog
223 223
     - RCT-Folly (= 2021.06.28.00-v2)
224 224
     - React-Core/Default
225
-    - React-cxxreact (= 0.66.4)
226
-    - React-jsi (= 0.66.4)
227
-    - React-jsiexecutor (= 0.66.4)
228
-    - React-perflogger (= 0.66.4)
225
+    - React-cxxreact (= 0.67.4)
226
+    - React-jsi (= 0.67.4)
227
+    - React-jsiexecutor (= 0.67.4)
228
+    - React-perflogger (= 0.67.4)
229 229
     - Yoga
230
-  - React-Core/RCTLinkingHeaders (0.66.4):
230
+  - React-Core/RCTLinkingHeaders (0.67.4):
231 231
     - glog
232 232
     - RCT-Folly (= 2021.06.28.00-v2)
233 233
     - React-Core/Default
234
-    - React-cxxreact (= 0.66.4)
235
-    - React-jsi (= 0.66.4)
236
-    - React-jsiexecutor (= 0.66.4)
237
-    - React-perflogger (= 0.66.4)
234
+    - React-cxxreact (= 0.67.4)
235
+    - React-jsi (= 0.67.4)
236
+    - React-jsiexecutor (= 0.67.4)
237
+    - React-perflogger (= 0.67.4)
238 238
     - Yoga
239
-  - React-Core/RCTNetworkHeaders (0.66.4):
239
+  - React-Core/RCTNetworkHeaders (0.67.4):
240 240
     - glog
241 241
     - RCT-Folly (= 2021.06.28.00-v2)
242 242
     - React-Core/Default
243
-    - React-cxxreact (= 0.66.4)
244
-    - React-jsi (= 0.66.4)
245
-    - React-jsiexecutor (= 0.66.4)
246
-    - React-perflogger (= 0.66.4)
243
+    - React-cxxreact (= 0.67.4)
244
+    - React-jsi (= 0.67.4)
245
+    - React-jsiexecutor (= 0.67.4)
246
+    - React-perflogger (= 0.67.4)
247 247
     - Yoga
248
-  - React-Core/RCTSettingsHeaders (0.66.4):
248
+  - React-Core/RCTSettingsHeaders (0.67.4):
249 249
     - glog
250 250
     - RCT-Folly (= 2021.06.28.00-v2)
251 251
     - React-Core/Default
252
-    - React-cxxreact (= 0.66.4)
253
-    - React-jsi (= 0.66.4)
254
-    - React-jsiexecutor (= 0.66.4)
255
-    - React-perflogger (= 0.66.4)
252
+    - React-cxxreact (= 0.67.4)
253
+    - React-jsi (= 0.67.4)
254
+    - React-jsiexecutor (= 0.67.4)
255
+    - React-perflogger (= 0.67.4)
256 256
     - Yoga
257
-  - React-Core/RCTTextHeaders (0.66.4):
257
+  - React-Core/RCTTextHeaders (0.67.4):
258 258
     - glog
259 259
     - RCT-Folly (= 2021.06.28.00-v2)
260 260
     - React-Core/Default
261
-    - React-cxxreact (= 0.66.4)
262
-    - React-jsi (= 0.66.4)
263
-    - React-jsiexecutor (= 0.66.4)
264
-    - React-perflogger (= 0.66.4)
261
+    - React-cxxreact (= 0.67.4)
262
+    - React-jsi (= 0.67.4)
263
+    - React-jsiexecutor (= 0.67.4)
264
+    - React-perflogger (= 0.67.4)
265 265
     - Yoga
266
-  - React-Core/RCTVibrationHeaders (0.66.4):
266
+  - React-Core/RCTVibrationHeaders (0.67.4):
267 267
     - glog
268 268
     - RCT-Folly (= 2021.06.28.00-v2)
269 269
     - React-Core/Default
270
-    - React-cxxreact (= 0.66.4)
271
-    - React-jsi (= 0.66.4)
272
-    - React-jsiexecutor (= 0.66.4)
273
-    - React-perflogger (= 0.66.4)
270
+    - React-cxxreact (= 0.67.4)
271
+    - React-jsi (= 0.67.4)
272
+    - React-jsiexecutor (= 0.67.4)
273
+    - React-perflogger (= 0.67.4)
274 274
     - Yoga
275
-  - React-Core/RCTWebSocket (0.66.4):
275
+  - React-Core/RCTWebSocket (0.67.4):
276 276
     - glog
277 277
     - RCT-Folly (= 2021.06.28.00-v2)
278
-    - React-Core/Default (= 0.66.4)
279
-    - React-cxxreact (= 0.66.4)
280
-    - React-jsi (= 0.66.4)
281
-    - React-jsiexecutor (= 0.66.4)
282
-    - React-perflogger (= 0.66.4)
278
+    - React-Core/Default (= 0.67.4)
279
+    - React-cxxreact (= 0.67.4)
280
+    - React-jsi (= 0.67.4)
281
+    - React-jsiexecutor (= 0.67.4)
282
+    - React-perflogger (= 0.67.4)
283 283
     - Yoga
284
-  - React-CoreModules (0.66.4):
285
-    - FBReactNativeSpec (= 0.66.4)
284
+  - React-CoreModules (0.67.4):
285
+    - FBReactNativeSpec (= 0.67.4)
286 286
     - RCT-Folly (= 2021.06.28.00-v2)
287
-    - RCTTypeSafety (= 0.66.4)
288
-    - React-Core/CoreModulesHeaders (= 0.66.4)
289
-    - React-jsi (= 0.66.4)
290
-    - React-RCTImage (= 0.66.4)
291
-    - ReactCommon/turbomodule/core (= 0.66.4)
292
-  - React-cxxreact (0.66.4):
287
+    - RCTTypeSafety (= 0.67.4)
288
+    - React-Core/CoreModulesHeaders (= 0.67.4)
289
+    - React-jsi (= 0.67.4)
290
+    - React-RCTImage (= 0.67.4)
291
+    - ReactCommon/turbomodule/core (= 0.67.4)
292
+  - React-cxxreact (0.67.4):
293 293
     - boost (= 1.76.0)
294 294
     - DoubleConversion
295 295
     - glog
296 296
     - RCT-Folly (= 2021.06.28.00-v2)
297
-    - React-callinvoker (= 0.66.4)
298
-    - React-jsi (= 0.66.4)
299
-    - React-jsinspector (= 0.66.4)
300
-    - React-logger (= 0.66.4)
301
-    - React-perflogger (= 0.66.4)
302
-    - React-runtimeexecutor (= 0.66.4)
303
-  - React-jsi (0.66.4):
297
+    - React-callinvoker (= 0.67.4)
298
+    - React-jsi (= 0.67.4)
299
+    - React-jsinspector (= 0.67.4)
300
+    - React-logger (= 0.67.4)
301
+    - React-perflogger (= 0.67.4)
302
+    - React-runtimeexecutor (= 0.67.4)
303
+  - React-jsi (0.67.4):
304 304
     - boost (= 1.76.0)
305 305
     - DoubleConversion
306 306
     - glog
307 307
     - RCT-Folly (= 2021.06.28.00-v2)
308
-    - React-jsi/Default (= 0.66.4)
309
-  - React-jsi/Default (0.66.4):
308
+    - React-jsi/Default (= 0.67.4)
309
+  - React-jsi/Default (0.67.4):
310 310
     - boost (= 1.76.0)
311 311
     - DoubleConversion
312 312
     - glog
313 313
     - RCT-Folly (= 2021.06.28.00-v2)
314
-  - React-jsiexecutor (0.66.4):
314
+  - React-jsiexecutor (0.67.4):
315 315
     - DoubleConversion
316 316
     - glog
317 317
     - RCT-Folly (= 2021.06.28.00-v2)
318
-    - React-cxxreact (= 0.66.4)
319
-    - React-jsi (= 0.66.4)
320
-    - React-perflogger (= 0.66.4)
321
-  - React-jsinspector (0.66.4)
322
-  - React-logger (0.66.4):
318
+    - React-cxxreact (= 0.67.4)
319
+    - React-jsi (= 0.67.4)
320
+    - React-perflogger (= 0.67.4)
321
+  - React-jsinspector (0.67.4)
322
+  - React-logger (0.67.4):
323 323
     - glog
324 324
   - react-native-background-timer (2.4.1):
325 325
     - React-Core
@@ -348,71 +348,71 @@ PODS:
348 348
     - React-Core
349 349
   - react-native-webview (11.15.1):
350 350
     - React-Core
351
-  - React-perflogger (0.66.4)
352
-  - React-RCTActionSheet (0.66.4):
353
-    - React-Core/RCTActionSheetHeaders (= 0.66.4)
354
-  - React-RCTAnimation (0.66.4):
355
-    - FBReactNativeSpec (= 0.66.4)
351
+  - React-perflogger (0.67.4)
352
+  - React-RCTActionSheet (0.67.4):
353
+    - React-Core/RCTActionSheetHeaders (= 0.67.4)
354
+  - React-RCTAnimation (0.67.4):
355
+    - FBReactNativeSpec (= 0.67.4)
356 356
     - RCT-Folly (= 2021.06.28.00-v2)
357
-    - RCTTypeSafety (= 0.66.4)
358
-    - React-Core/RCTAnimationHeaders (= 0.66.4)
359
-    - React-jsi (= 0.66.4)
360
-    - ReactCommon/turbomodule/core (= 0.66.4)
361
-  - React-RCTBlob (0.66.4):
362
-    - FBReactNativeSpec (= 0.66.4)
357
+    - RCTTypeSafety (= 0.67.4)
358
+    - React-Core/RCTAnimationHeaders (= 0.67.4)
359
+    - React-jsi (= 0.67.4)
360
+    - ReactCommon/turbomodule/core (= 0.67.4)
361
+  - React-RCTBlob (0.67.4):
362
+    - FBReactNativeSpec (= 0.67.4)
363 363
     - RCT-Folly (= 2021.06.28.00-v2)
364
-    - React-Core/RCTBlobHeaders (= 0.66.4)
365
-    - React-Core/RCTWebSocket (= 0.66.4)
366
-    - React-jsi (= 0.66.4)
367
-    - React-RCTNetwork (= 0.66.4)
368
-    - ReactCommon/turbomodule/core (= 0.66.4)
369
-  - React-RCTImage (0.66.4):
370
-    - FBReactNativeSpec (= 0.66.4)
364
+    - React-Core/RCTBlobHeaders (= 0.67.4)
365
+    - React-Core/RCTWebSocket (= 0.67.4)
366
+    - React-jsi (= 0.67.4)
367
+    - React-RCTNetwork (= 0.67.4)
368
+    - ReactCommon/turbomodule/core (= 0.67.4)
369
+  - React-RCTImage (0.67.4):
370
+    - FBReactNativeSpec (= 0.67.4)
371 371
     - RCT-Folly (= 2021.06.28.00-v2)
372
-    - RCTTypeSafety (= 0.66.4)
373
-    - React-Core/RCTImageHeaders (= 0.66.4)
374
-    - React-jsi (= 0.66.4)
375
-    - React-RCTNetwork (= 0.66.4)
376
-    - ReactCommon/turbomodule/core (= 0.66.4)
377
-  - React-RCTLinking (0.66.4):
378
-    - FBReactNativeSpec (= 0.66.4)
379
-    - React-Core/RCTLinkingHeaders (= 0.66.4)
380
-    - React-jsi (= 0.66.4)
381
-    - ReactCommon/turbomodule/core (= 0.66.4)
382
-  - React-RCTNetwork (0.66.4):
383
-    - FBReactNativeSpec (= 0.66.4)
372
+    - RCTTypeSafety (= 0.67.4)
373
+    - React-Core/RCTImageHeaders (= 0.67.4)
374
+    - React-jsi (= 0.67.4)
375
+    - React-RCTNetwork (= 0.67.4)
376
+    - ReactCommon/turbomodule/core (= 0.67.4)
377
+  - React-RCTLinking (0.67.4):
378
+    - FBReactNativeSpec (= 0.67.4)
379
+    - React-Core/RCTLinkingHeaders (= 0.67.4)
380
+    - React-jsi (= 0.67.4)
381
+    - ReactCommon/turbomodule/core (= 0.67.4)
382
+  - React-RCTNetwork (0.67.4):
383
+    - FBReactNativeSpec (= 0.67.4)
384 384
     - RCT-Folly (= 2021.06.28.00-v2)
385
-    - RCTTypeSafety (= 0.66.4)
386
-    - React-Core/RCTNetworkHeaders (= 0.66.4)
387
-    - React-jsi (= 0.66.4)
388
-    - ReactCommon/turbomodule/core (= 0.66.4)
389
-  - React-RCTSettings (0.66.4):
390
-    - FBReactNativeSpec (= 0.66.4)
385
+    - RCTTypeSafety (= 0.67.4)
386
+    - React-Core/RCTNetworkHeaders (= 0.67.4)
387
+    - React-jsi (= 0.67.4)
388
+    - ReactCommon/turbomodule/core (= 0.67.4)
389
+  - React-RCTSettings (0.67.4):
390
+    - FBReactNativeSpec (= 0.67.4)
391 391
     - RCT-Folly (= 2021.06.28.00-v2)
392
-    - RCTTypeSafety (= 0.66.4)
393
-    - React-Core/RCTSettingsHeaders (= 0.66.4)
394
-    - React-jsi (= 0.66.4)
395
-    - ReactCommon/turbomodule/core (= 0.66.4)
396
-  - React-RCTText (0.66.4):
397
-    - React-Core/RCTTextHeaders (= 0.66.4)
398
-  - React-RCTVibration (0.66.4):
399
-    - FBReactNativeSpec (= 0.66.4)
392
+    - RCTTypeSafety (= 0.67.4)
393
+    - React-Core/RCTSettingsHeaders (= 0.67.4)
394
+    - React-jsi (= 0.67.4)
395
+    - ReactCommon/turbomodule/core (= 0.67.4)
396
+  - React-RCTText (0.67.4):
397
+    - React-Core/RCTTextHeaders (= 0.67.4)
398
+  - React-RCTVibration (0.67.4):
399
+    - FBReactNativeSpec (= 0.67.4)
400 400
     - RCT-Folly (= 2021.06.28.00-v2)
401
-    - React-Core/RCTVibrationHeaders (= 0.66.4)
402
-    - React-jsi (= 0.66.4)
403
-    - ReactCommon/turbomodule/core (= 0.66.4)
404
-  - React-runtimeexecutor (0.66.4):
405
-    - React-jsi (= 0.66.4)
406
-  - ReactCommon/turbomodule/core (0.66.4):
401
+    - React-Core/RCTVibrationHeaders (= 0.67.4)
402
+    - React-jsi (= 0.67.4)
403
+    - ReactCommon/turbomodule/core (= 0.67.4)
404
+  - React-runtimeexecutor (0.67.4):
405
+    - React-jsi (= 0.67.4)
406
+  - ReactCommon/turbomodule/core (0.67.4):
407 407
     - DoubleConversion
408 408
     - glog
409 409
     - RCT-Folly (= 2021.06.28.00-v2)
410
-    - React-callinvoker (= 0.66.4)
411
-    - React-Core (= 0.66.4)
412
-    - React-cxxreact (= 0.66.4)
413
-    - React-jsi (= 0.66.4)
414
-    - React-logger (= 0.66.4)
415
-    - React-perflogger (= 0.66.4)
410
+    - React-callinvoker (= 0.67.4)
411
+    - React-Core (= 0.67.4)
412
+    - React-cxxreact (= 0.67.4)
413
+    - React-jsi (= 0.67.4)
414
+    - React-logger (= 0.67.4)
415
+    - React-perflogger (= 0.67.4)
416 416
   - RNCalendarEvents (2.2.0):
417 417
     - React
418 418
   - RNCAsyncStorage (1.15.14):
@@ -660,8 +660,8 @@ SPEC CHECKSUMS:
660 660
   boost: a7c83b31436843459a1961bfd74b96033dc77234
661 661
   CocoaLumberjack: b7e05132ff94f6ae4dfa9d5bce9141893a21d9da
662 662
   DoubleConversion: 831926d9b8bf8166fd87886c4abab286c2422662
663
-  FBLazyVector: e5569e42a1c79ca00521846c223173a57aca1fe1
664
-  FBReactNativeSpec: fe08c1cd7e2e205718d77ad14b34957cce949b58
663
+  FBLazyVector: f7b0632c6437e312acf6349288d9aa4cb6d59030
664
+  FBReactNativeSpec: 0f4e1f4cfeace095694436e7c7fcc5bf4b03a0ff
665 665
   Firebase: 8db6f2d1b2c5e2984efba4949a145875a8f65fe5
666 666
   FirebaseAnalytics: 5dd088bd2e67bb9d13dbf792d1164ceaf3052193
667 667
   FirebaseCore: d889d9e12535b7f36ac8bfbf1713a0836a3012cd
@@ -684,17 +684,17 @@ SPEC CHECKSUMS:
684 684
   ObjectiveDropboxOfficial: fe206ce8c0bc49976c249d472db7fdbc53ebbd53
685 685
   PromisesObjC: 3113f7f76903778cf4a0586bd1ab89329a0b7b97
686 686
   RCT-Folly: a21c126816d8025b547704b777a2ba552f3d9fa9
687
-  RCTRequired: 4bf86c70714490bca4bf2696148638284622644b
688
-  RCTTypeSafety: c475a7059eb77935fa53d2c17db299893f057d5d
689
-  React: f64af14e3f2c50f6f2c91a5fd250e4ff1b3c3459
690
-  React-callinvoker: b74e4ae80287780dcdf0cab262bcb581eeef56e7
691
-  React-Core: 3eb7432bad96ff1d25aebc1defbae013fee2fd0e
692
-  React-CoreModules: ad9e1fd5650e16666c57a08328df86fd7e480cb9
693
-  React-cxxreact: 02633ff398cf7e91a2c1e12590d323c4a4b8668a
694
-  React-jsi: 805c41a927d6499fb811772acb971467d9204633
695
-  React-jsiexecutor: 94ce921e1d8ce7023366873ec371f3441383b396
696
-  React-jsinspector: d0374f7509d407d2264168b6d0fad0b54e300b85
697
-  React-logger: 933f80c97c633ee8965d609876848148e3fef438
687
+  RCTRequired: 0aa6c1c27e1d65920df35ceea5341a5fe76bdb79
688
+  RCTTypeSafety: d76a59d00632891e11ed7522dba3fd1a995e573a
689
+  React: ab8c09da2e7704f4b3ebad4baa6cfdfcc852dcb5
690
+  React-callinvoker: 216fb96b482da516b8aba4142b145938f6ea92f0
691
+  React-Core: af99b93aff83599485e0e0879879aafa35ceae32
692
+  React-CoreModules: 137a054ce8c547e81dc3502933b1bc0fd08df05d
693
+  React-cxxreact: ec5ee6b08664f5b8ac71d8ad912f54d540c4f817
694
+  React-jsi: 3e084c80fd364cee64668d5df46d40c39f7973e1
695
+  React-jsiexecutor: cbdf37cebdc4f5d8b3d0bf5ccaa6147fd9de9f3d
696
+  React-jsinspector: f4775ea9118cbe1f72b834f0f842baa7a99508d8
697
+  React-logger: a1f028f6d8639a3f364ef80419e5e862e1115250
698 698
   react-native-background-timer: 17ea5e06803401a379ebf1f20505b793ac44d0fe
699 699
   react-native-get-random-values: 30b3f74ca34e30e2e480de48e4add2706a40ac8f
700 700
   react-native-keep-awake: afad8a51dfef9fe9655a6344771be32c8596d774
@@ -707,18 +707,18 @@ SPEC CHECKSUMS:
707 707
   react-native-video: a4c2635d0802f983594b7057e1bce8f442f0ad28
708 708
   react-native-webrtc: b8f2769386d51a6a8c89778478618fe311226bc3
709 709
   react-native-webview: ea4899a1056c782afa96dd082179a66cbebf5504
710
-  React-perflogger: 93075d8931c32cd1fce8a98c15d2d5ccc4d891bd
711
-  React-RCTActionSheet: 7d3041e6761b4f3044a37079ddcb156575fb6d89
712
-  React-RCTAnimation: 743e88b55ac62511ae5c2e22803d4f503f2a3a13
713
-  React-RCTBlob: bee3a2f98fa7fc25c957c8643494244f74bea0a0
714
-  React-RCTImage: 19fc9e29b06cc38611c553494f8d3040bf78c24e
715
-  React-RCTLinking: dc799503979c8c711126d66328e7ce8f25c2848f
716
-  React-RCTNetwork: 417e4e34cf3c19eaa5fd4e9eb20180d662a799ce
717
-  React-RCTSettings: 4df89417265af26501a7e0e9192a34d3d9848dff
718
-  React-RCTText: f8a21c3499ab322326290fa9b701ae29aa093aa5
719
-  React-RCTVibration: e3ffca672dd3772536cb844274094b0e2c31b187
720
-  React-runtimeexecutor: dec32ee6f2e2a26e13e58152271535fadff5455a
721
-  ReactCommon: 57b69f6383eafcbd7da625bfa6003810332313c4
710
+  React-perflogger: 0afaf2f01a47fd0fc368a93bfbb5bd3b26db6e7f
711
+  React-RCTActionSheet: 59f35c4029e0b532fc42114241a06e170b7431a2
712
+  React-RCTAnimation: aae4f4bed122e78bdab72f7118d291d70a932ce2
713
+  React-RCTBlob: f6fb23394b4f28cd86fa7e9f5f6ae45c23669fda
714
+  React-RCTImage: 638815cf96124386dd296067246d91441932ae3f
715
+  React-RCTLinking: 254dd06283dd6fdb784285f95e7cec8053c3270f
716
+  React-RCTNetwork: 8a4c2d4f357268e520b060572d02bc69a9b991fb
717
+  React-RCTSettings: 35d44cbb9972ab933bd0a59ea3e6646dcb030ba3
718
+  React-RCTText: cc5315df8458cfa7b537e621271ef43273955a97
719
+  React-RCTVibration: 3b52a7dced19cdb025b4f88ab26ceb2d85f30ba2
720
+  React-runtimeexecutor: a9d3c82ddf7ffdad9fbe6a81c6d6f8c06385464d
721
+  ReactCommon: 07d0c460b9ba9af3eaf1b8f5abe7daaad28c9c4e
722 722
   RNCalendarEvents: 7e65eb4a94f53c1744d1e275f7fafcfaa619f7a3
723 723
   RNCAsyncStorage: ea6b5c280997b2b32a587793163b1f10e580c4f7
724 724
   RNCClipboard: 41d8d918092ae8e676f18adada19104fa3e68495
@@ -732,8 +732,8 @@ SPEC CHECKSUMS:
732 732
   RNSound: 27e8268bdb0a1f191f219a33267f7e0445e8d62f
733 733
   RNSVG: ce9d996113475209013317e48b05c21ee988d42e
734 734
   RNWatch: 99637948ec9b5c9ec5a41920642594ad5ba07e80
735
-  Yoga: e7dc4e71caba6472ff48ad7d234389b91dadc280
735
+  Yoga: d6b6a80659aa3e91aaba01d0012e7edcbedcbecd
736 736
 
737
-PODFILE CHECKSUM: 7fafb3480e45473da539aa09d06374868b021f90
737
+PODFILE CHECKSUM: 2167362b8c8cacb433b763a9ae6c3f4b590190c7
738 738
 
739 739
 COCOAPODS: 1.11.2

+ 31
- 33
package-lock.json Voir le fichier

@@ -86,7 +86,7 @@
86 86
         "react-focus-lock": "2.5.1",
87 87
         "react-i18next": "10.11.4",
88 88
         "react-linkify": "1.0.0-alpha",
89
-        "react-native": "0.66.4",
89
+        "react-native": "0.67.4",
90 90
         "react-native-background-timer": "2.4.1",
91 91
         "react-native-calendar-events": "2.2.0",
92 92
         "react-native-callstats": "3.73.7",
@@ -4656,9 +4656,9 @@
4656 4656
       "integrity": "sha512-KrwSpS1tKI70wuKl68DwJZYEvXktDHdZMG0k2AXD/rJVSlB23/X2CB2cutVR0HwNMJIal9HOUOBB2rVfa6UGtQ=="
4657 4657
     },
4658 4658
     "node_modules/@react-native/normalize-color": {
4659
-      "version": "1.0.0",
4660
-      "resolved": "https://registry.npmjs.org/@react-native/normalize-color/-/normalize-color-1.0.0.tgz",
4661
-      "integrity": "sha512-xUNRvNmCl3UGCPbbHvfyFMnpvLPoOjDCcp5bT9m2k+TF/ZBklEQwhPZlkrxRx2NhgFh1X3a5uL7mJ7ZR+8G7Qg=="
4659
+      "version": "2.0.0",
4660
+      "resolved": "https://registry.npmjs.org/@react-native/normalize-color/-/normalize-color-2.0.0.tgz",
4661
+      "integrity": "sha512-Wip/xsc5lw8vsBlmY2MO/gFLp3MvuZ2baBZjDeTjjndMgM0h5sxz7AZR62RDPGgstp8Np7JzjvVqVT7tpFZqsw=="
4662 4662
     },
4663 4663
     "node_modules/@react-native/polyfills": {
4664 4664
       "version": "2.0.0",
@@ -14856,9 +14856,9 @@
14856 14856
       }
14857 14857
     },
14858 14858
     "node_modules/react-devtools-core": {
14859
-      "version": "4.23.0",
14860
-      "resolved": "https://registry.npmjs.org/react-devtools-core/-/react-devtools-core-4.23.0.tgz",
14861
-      "integrity": "sha512-KkzneT1LczFtebbTJlvRphIRvzuHLhI9ghfrseVv9ktBs+l2cXy8Svw5U16lzQnwU9okVEcURmGPgH79WWrlaw==",
14859
+      "version": "4.19.1",
14860
+      "resolved": "https://registry.npmjs.org/react-devtools-core/-/react-devtools-core-4.19.1.tgz",
14861
+      "integrity": "sha512-2wJiGffPWK0KggBjVwnTaAk+Z3MSxKInHmdzPTrBh1mAarexsa93Kw+WMX88+XjN+TtYgAiLe9xeTqcO5FfJTw==",
14862 14862
       "dependencies": {
14863 14863
         "shell-quote": "^1.6.1",
14864 14864
         "ws": "^7"
@@ -14978,16 +14978,16 @@
14978 14978
       }
14979 14979
     },
14980 14980
     "node_modules/react-native": {
14981
-      "version": "0.66.4",
14982
-      "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.66.4.tgz",
14983
-      "integrity": "sha512-9vx5dlSfQlKbbDtr8+xMon6qsmSu7jvjdXWZpEKh3XVKpUidbbODv7048gwVKX8YAel1egeR7hN8vzSeI6ssTw==",
14981
+      "version": "0.67.4",
14982
+      "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.67.4.tgz",
14983
+      "integrity": "sha512-NA9d9lNJu9TViEJu2uZxWXUP+QNUilGGA5tdMbVFedNroOH1lnQ3n/FAVoGK1gqGarCgNTtheBxUpEa979Cu8w==",
14984 14984
       "dependencies": {
14985 14985
         "@jest/create-cache-key-function": "^27.0.1",
14986 14986
         "@react-native-community/cli": "^6.0.0",
14987 14987
         "@react-native-community/cli-platform-android": "^6.0.0",
14988 14988
         "@react-native-community/cli-platform-ios": "^6.0.0",
14989 14989
         "@react-native/assets": "1.0.0",
14990
-        "@react-native/normalize-color": "1.0.0",
14990
+        "@react-native/normalize-color": "2.0.0",
14991 14991
         "@react-native/polyfills": "2.0.0",
14992 14992
         "abort-controller": "^3.0.0",
14993 14993
         "anser": "^1.4.9",
@@ -14996,7 +14996,6 @@
14996 14996
         "hermes-engine": "~0.9.0",
14997 14997
         "invariant": "^2.2.4",
14998 14998
         "jsc-android": "^250230.2.1",
14999
-        "metro-babel-register": "0.66.2",
15000 14999
         "metro-react-native-babel-transformer": "0.66.2",
15001 15000
         "metro-runtime": "0.66.2",
15002 15001
         "metro-source-map": "0.66.2",
@@ -15004,8 +15003,8 @@
15004 15003
         "pretty-format": "^26.5.2",
15005 15004
         "promise": "^8.0.3",
15006 15005
         "prop-types": "^15.7.2",
15007
-        "react-devtools-core": "^4.13.0",
15008
-        "react-native-codegen": "^0.0.7",
15006
+        "react-devtools-core": "4.19.1",
15007
+        "react-native-codegen": "^0.0.8",
15009 15008
         "react-refresh": "^0.4.0",
15010 15009
         "regenerator-runtime": "^0.13.2",
15011 15010
         "scheduler": "^0.20.2",
@@ -15050,9 +15049,9 @@
15050 15049
       }
15051 15050
     },
15052 15051
     "node_modules/react-native-codegen": {
15053
-      "version": "0.0.7",
15054
-      "resolved": "https://registry.npmjs.org/react-native-codegen/-/react-native-codegen-0.0.7.tgz",
15055
-      "integrity": "sha512-dwNgR8zJ3ALr480QnAmpTiqvFo+rDtq6V5oCggKhYFlRjzOmVSFn3YD41u8ltvKS5G2nQ8gCs2vReFFnRGLYng==",
15052
+      "version": "0.0.8",
15053
+      "resolved": "https://registry.npmjs.org/react-native-codegen/-/react-native-codegen-0.0.8.tgz",
15054
+      "integrity": "sha512-k/944+0XD+8l7zDaiKfYabyEKmAmyZgS1mj+4LcSRPyHnrjgCHKrh/Y6jM6kucQ6xU1+1uyMmF/dSkikxK8i+Q==",
15056 15055
       "dependencies": {
15057 15056
         "flow-parser": "^0.121.0",
15058 15057
         "jscodeshift": "^0.11.0",
@@ -23198,9 +23197,9 @@
23198 23197
       "integrity": "sha512-KrwSpS1tKI70wuKl68DwJZYEvXktDHdZMG0k2AXD/rJVSlB23/X2CB2cutVR0HwNMJIal9HOUOBB2rVfa6UGtQ=="
23199 23198
     },
23200 23199
     "@react-native/normalize-color": {
23201
-      "version": "1.0.0",
23202
-      "resolved": "https://registry.npmjs.org/@react-native/normalize-color/-/normalize-color-1.0.0.tgz",
23203
-      "integrity": "sha512-xUNRvNmCl3UGCPbbHvfyFMnpvLPoOjDCcp5bT9m2k+TF/ZBklEQwhPZlkrxRx2NhgFh1X3a5uL7mJ7ZR+8G7Qg=="
23200
+      "version": "2.0.0",
23201
+      "resolved": "https://registry.npmjs.org/@react-native/normalize-color/-/normalize-color-2.0.0.tgz",
23202
+      "integrity": "sha512-Wip/xsc5lw8vsBlmY2MO/gFLp3MvuZ2baBZjDeTjjndMgM0h5sxz7AZR62RDPGgstp8Np7JzjvVqVT7tpFZqsw=="
23204 23203
     },
23205 23204
     "@react-native/polyfills": {
23206 23205
       "version": "2.0.0",
@@ -31241,9 +31240,9 @@
31241 31240
       }
31242 31241
     },
31243 31242
     "react-devtools-core": {
31244
-      "version": "4.23.0",
31245
-      "resolved": "https://registry.npmjs.org/react-devtools-core/-/react-devtools-core-4.23.0.tgz",
31246
-      "integrity": "sha512-KkzneT1LczFtebbTJlvRphIRvzuHLhI9ghfrseVv9ktBs+l2cXy8Svw5U16lzQnwU9okVEcURmGPgH79WWrlaw==",
31243
+      "version": "4.19.1",
31244
+      "resolved": "https://registry.npmjs.org/react-devtools-core/-/react-devtools-core-4.19.1.tgz",
31245
+      "integrity": "sha512-2wJiGffPWK0KggBjVwnTaAk+Z3MSxKInHmdzPTrBh1mAarexsa93Kw+WMX88+XjN+TtYgAiLe9xeTqcO5FfJTw==",
31247 31246
       "requires": {
31248 31247
         "shell-quote": "^1.6.1",
31249 31248
         "ws": "^7"
@@ -31330,16 +31329,16 @@
31330 31329
       }
31331 31330
     },
31332 31331
     "react-native": {
31333
-      "version": "0.66.4",
31334
-      "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.66.4.tgz",
31335
-      "integrity": "sha512-9vx5dlSfQlKbbDtr8+xMon6qsmSu7jvjdXWZpEKh3XVKpUidbbODv7048gwVKX8YAel1egeR7hN8vzSeI6ssTw==",
31332
+      "version": "0.67.4",
31333
+      "resolved": "https://registry.npmjs.org/react-native/-/react-native-0.67.4.tgz",
31334
+      "integrity": "sha512-NA9d9lNJu9TViEJu2uZxWXUP+QNUilGGA5tdMbVFedNroOH1lnQ3n/FAVoGK1gqGarCgNTtheBxUpEa979Cu8w==",
31336 31335
       "requires": {
31337 31336
         "@jest/create-cache-key-function": "^27.0.1",
31338 31337
         "@react-native-community/cli": "^6.0.0",
31339 31338
         "@react-native-community/cli-platform-android": "^6.0.0",
31340 31339
         "@react-native-community/cli-platform-ios": "^6.0.0",
31341 31340
         "@react-native/assets": "1.0.0",
31342
-        "@react-native/normalize-color": "1.0.0",
31341
+        "@react-native/normalize-color": "2.0.0",
31343 31342
         "@react-native/polyfills": "2.0.0",
31344 31343
         "abort-controller": "^3.0.0",
31345 31344
         "anser": "^1.4.9",
@@ -31348,7 +31347,6 @@
31348 31347
         "hermes-engine": "~0.9.0",
31349 31348
         "invariant": "^2.2.4",
31350 31349
         "jsc-android": "^250230.2.1",
31351
-        "metro-babel-register": "0.66.2",
31352 31350
         "metro-react-native-babel-transformer": "0.66.2",
31353 31351
         "metro-runtime": "0.66.2",
31354 31352
         "metro-source-map": "0.66.2",
@@ -31356,8 +31354,8 @@
31356 31354
         "pretty-format": "^26.5.2",
31357 31355
         "promise": "^8.0.3",
31358 31356
         "prop-types": "^15.7.2",
31359
-        "react-devtools-core": "^4.13.0",
31360
-        "react-native-codegen": "^0.0.7",
31357
+        "react-devtools-core": "4.19.1",
31358
+        "react-native-codegen": "^0.0.8",
31361 31359
         "react-refresh": "^0.4.0",
31362 31360
         "regenerator-runtime": "^0.13.2",
31363 31361
         "scheduler": "^0.20.2",
@@ -31387,9 +31385,9 @@
31387 31385
       }
31388 31386
     },
31389 31387
     "react-native-codegen": {
31390
-      "version": "0.0.7",
31391
-      "resolved": "https://registry.npmjs.org/react-native-codegen/-/react-native-codegen-0.0.7.tgz",
31392
-      "integrity": "sha512-dwNgR8zJ3ALr480QnAmpTiqvFo+rDtq6V5oCggKhYFlRjzOmVSFn3YD41u8ltvKS5G2nQ8gCs2vReFFnRGLYng==",
31388
+      "version": "0.0.8",
31389
+      "resolved": "https://registry.npmjs.org/react-native-codegen/-/react-native-codegen-0.0.8.tgz",
31390
+      "integrity": "sha512-k/944+0XD+8l7zDaiKfYabyEKmAmyZgS1mj+4LcSRPyHnrjgCHKrh/Y6jM6kucQ6xU1+1uyMmF/dSkikxK8i+Q==",
31393 31391
       "requires": {
31394 31392
         "flow-parser": "^0.121.0",
31395 31393
         "jscodeshift": "^0.11.0",

+ 1
- 1
package.json Voir le fichier

@@ -91,7 +91,7 @@
91 91
     "react-focus-lock": "2.5.1",
92 92
     "react-i18next": "10.11.4",
93 93
     "react-linkify": "1.0.0-alpha",
94
-    "react-native": "0.66.4",
94
+    "react-native": "0.67.4",
95 95
     "react-native-background-timer": "2.4.1",
96 96
     "react-native-calendar-events": "2.2.0",
97 97
     "react-native-callstats": "3.73.7",

+ 0
- 141
patches/react-native+0.66.4.patch Voir le fichier

@@ -1,141 +0,0 @@
1
-diff --git a/node_modules/react-native/React/CoreModules/RCTTiming.mm b/node_modules/react-native/React/CoreModules/RCTTiming.mm
2
-index 70f0543..d43a4be 100644
3
---- a/node_modules/react-native/React/CoreModules/RCTTiming.mm
4
-+++ b/node_modules/react-native/React/CoreModules/RCTTiming.mm
5
-@@ -146,6 +146,11 @@ - (void)setup
6
-                                                  name:name
7
-                                                object:nil];
8
-   }
9
-+
10
-+  [[NSNotificationCenter defaultCenter] addObserver:self
11
-+                                           selector:@selector(proximityChanged)
12
-+                                               name:UIDeviceProximityStateDidChangeNotification
13
-+                                             object:nil];
14
- }
15
- 
16
- - (void)dealloc
17
-@@ -182,6 +187,16 @@ - (void)appDidMoveToForeground
18
-   [self startTimers];
19
- }
20
- 
21
-+- (void)proximityChanged
22
-+{
23
-+  BOOL isClose = [UIDevice currentDevice].proximityState;
24
-+  if (isClose) {
25
-+    [self appDidMoveToBackground];
26
-+  } else {
27
-+    [self appDidMoveToForeground];
28
-+  }
29
-+}
30
-+
31
- - (void)stopTimers
32
- {
33
-   if (_inBackground) {
34
-diff --git a/node_modules/react-native/scripts/react_native_pods.rb b/node_modules/react-native/scripts/react_native_pods.rb
35
-index df31139..061ded9 100644
36
---- a/node_modules/react-native/scripts/react_native_pods.rb
37
-+++ b/node_modules/react-native/scripts/react_native_pods.rb
38
-@@ -125,20 +125,49 @@ def exclude_architectures(installer)
39
-     .uniq{ |p| p.path }
40
-     .push(installer.pods_project)
41
- 
42
--  arm_value = `/usr/sbin/sysctl -n hw.optional.arm64 2>&1`.to_i
43
--
44
-   # Hermes does not support `i386` architecture
45
-   excluded_archs_default = has_pod(installer, 'hermes-engine') ? "i386" : ""
46
- 
47
-   projects.each do |project|
48
-     project.build_configurations.each do |config|
49
--      if arm_value == 1 then
50
--        config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = excluded_archs_default
51
--      else
52
--        config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64 " + excluded_archs_default
53
-+      config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = excluded_archs_default
54
-+    end
55
-+
56
-+    project.save()
57
-+  end
58
-+end
59
-+
60
-+def fix_library_search_paths(installer)
61
-+  def fix_config(config)
62
-+    lib_search_paths = config.build_settings["LIBRARY_SEARCH_PATHS"]
63
-+    if lib_search_paths
64
-+      if lib_search_paths.include?("$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)") || lib_search_paths.include?("\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"")
65
-+        # $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME) causes problem with Xcode 12.5 + arm64 (Apple M1)
66
-+        # since the libraries there are only built for x86_64 and i386.
67
-+        lib_search_paths.delete("$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)")
68
-+        lib_search_paths.delete("\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"")
69
-+        if !(lib_search_paths.include?("$(SDKROOT)/usr/lib/swift") || lib_search_paths.include?("\"$(SDKROOT)/usr/lib/swift\""))
70
-+          # however, $(SDKROOT)/usr/lib/swift is required, at least if user is not running CocoaPods 1.11
71
-+          lib_search_paths.insert(0, "$(SDKROOT)/usr/lib/swift")
72
-+        end
73
-       end
74
-     end
75
-+  end
76
-+
77
-+  projects = installer.aggregate_targets
78
-+    .map{ |t| t.user_project }
79
-+    .uniq{ |p| p.path }
80
-+    .push(installer.pods_project)
81
- 
82
-+  projects.each do |project|
83
-+    project.build_configurations.each do |config|
84
-+      fix_config(config)
85
-+    end
86
-+    project.native_targets.each do |target|
87
-+      target.build_configurations.each do |config|
88
-+        fix_config(config)
89
-+      end
90
-+    end
91
-     project.save()
92
-   end
93
- end
94
-@@ -149,6 +178,7 @@ def react_native_post_install(installer)
95
-   end
96
- 
97
-   exclude_architectures(installer)
98
-+  fix_library_search_paths(installer)
99
- end
100
- 
101
- def use_react_native_codegen!(spec, options={})
102
-@@ -218,36 +248,8 @@ end
103
- # See https://github.com/facebook/react-native/issues/31480#issuecomment-902912841 for more context.
104
- # Actual fix was authored by https://github.com/mikehardy.
105
- # New app template will call this for now until the underlying issue is resolved.
106
-+#
107
-+# It's not needed anymore and will be removed later
108
- def __apply_Xcode_12_5_M1_post_install_workaround(installer)
109
--  # Apple Silicon builds require a library path tweak for Swift library discovery to resolve Swift-related "symbol not found".
110
--  # Note: this was fixed via https://github.com/facebook/react-native/commit/eb938863063f5535735af2be4e706f70647e5b90
111
--  # Keeping this logic here but commented out for future reference.
112
--  #
113
--  # installer.aggregate_targets.each do |aggregate_target|
114
--  #   aggregate_target.user_project.native_targets.each do |target|
115
--  #     target.build_configurations.each do |config|
116
--  #       config.build_settings['LIBRARY_SEARCH_PATHS'] = ['$(SDKROOT)/usr/lib/swift', '$(inherited)']
117
--  #     end
118
--  #   end
119
--  #   aggregate_target.user_project.save
120
--  # end
121
--
122
--  # Flipper podspecs are still targeting an older iOS deployment target, and may cause an error like:
123
--  #   "error: thread-local storage is not supported for the current target"
124
--  # The most reliable known workaround is to bump iOS deployment target to match react-native (iOS 11 now).
125
--  installer.pods_project.targets.each do |target|
126
--    target.build_configurations.each do |config|
127
--      # ensure IPHONEOS_DEPLOYMENT_TARGET is at least 11.0
128
--      should_upgrade = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].split('.')[0].to_i < 11
129
--      if should_upgrade
130
--        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
131
--      end
132
--    end
133
--  end
134
--
135
--  # But... doing so caused another issue in Flipper:
136
--  #   "Time.h:52:17: error: typedef redefinition with different types"
137
--  # We need to make a patch to RCT-Folly - remove the `__IPHONE_OS_VERSION_MIN_REQUIRED` check.
138
--  # See https://github.com/facebook/flipper/issues/834 for more details.
139
--  `sed -i -e  $'s/ && (__IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_10_0)//' Pods/RCT-Folly/folly/portability/Time.h`
140
-+  puts "__apply_Xcode_12_5_M1_post_install_workaround() is not needed anymore"
141
- end

+ 50
- 0
patches/react-native+0.67.4.patch Voir le fichier

@@ -0,0 +1,50 @@
1
+diff --git a/node_modules/react-native/React/CoreModules/RCTTiming.mm b/node_modules/react-native/React/CoreModules/RCTTiming.mm
2
+index 70f0543..d003662 100644
3
+--- a/node_modules/react-native/React/CoreModules/RCTTiming.mm
4
++++ b/node_modules/react-native/React/CoreModules/RCTTiming.mm
5
+@@ -127,7 +127,15 @@ - (void)setup
6
+ {
7
+   _paused = YES;
8
+   _timers = [NSMutableDictionary new];
9
+-  _inBackground = NO;
10
++    
11
++  __block BOOL initialInBackground;
12
++  dispatch_sync(dispatch_get_main_queue(), ^{
13
++      initialInBackground
14
++        = [UIApplication sharedApplication].applicationState == UIApplicationStateBackground
15
++          || [UIDevice currentDevice].proximityState;
16
++  });
17
++
18
++  _inBackground = initialInBackground;
19
+ 
20
+   for (NSString *name in @[
21
+          UIApplicationWillResignActiveNotification,
22
+@@ -146,6 +154,11 @@ - (void)setup
23
+                                                  name:name
24
+                                                object:nil];
25
+   }
26
++
27
++  [[NSNotificationCenter defaultCenter] addObserver:self
28
++                                           selector:@selector(proximityChanged)
29
++                                               name:UIDeviceProximityStateDidChangeNotification
30
++                                             object:nil];
31
+ }
32
+ 
33
+ - (void)dealloc
34
+@@ -182,6 +195,16 @@ - (void)appDidMoveToForeground
35
+   [self startTimers];
36
+ }
37
+ 
38
++- (void)proximityChanged
39
++{
40
++  BOOL isClose = [UIDevice currentDevice].proximityState;
41
++  if (isClose) {
42
++    [self appDidMoveToBackground];
43
++  } else {
44
++    [self appDidMoveToForeground];
45
++  }
46
++}
47
++
48
+ - (void)stopTimers
49
+ {
50
+   if (_inBackground) {

+ 1
- 6
react/features/mobile/polyfills/browser.js Voir le fichier

@@ -298,12 +298,7 @@ function _visitNode(node, callback) {
298 298
     // Timers
299 299
     //
300 300
     // React Native's timers won't run while the app is in the background, this
301
-    // is a known limitation. Replace them with a background-friendly
302
-    // alternative.
303
-    //
304
-    // Required by:
305
-    // - lib-jitsi-meet
306
-    // - Strophe
301
+    // is a known limitation. Replace them with a background-friendly alternative.
307 302
     if (Platform.OS === 'android') {
308 303
         global.clearTimeout = BackgroundTimer.clearTimeout.bind(BackgroundTimer);
309 304
         global.clearInterval = BackgroundTimer.clearInterval.bind(BackgroundTimer);

Chargement…
Annuler
Enregistrer