Переглянути джерело

deps: react-native-google-signin@3.0.1

j8
Saúl Ibarra Corretgé 5 роки тому
джерело
коміт
0fa6ffc439

+ 1
- 1
android/settings.gradle Переглянути файл

@@ -10,7 +10,7 @@ project(':react-native-community-async-storage').projectDir = new File(rootProje
10 10
 include ':react-native-community_netinfo'
11 11
 project(':react-native-community_netinfo').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/netinfo/android')
12 12
 include ':react-native-google-signin'
13
-project(':react-native-google-signin').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-google-signin/android')
13
+project(':react-native-google-signin').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-community/google-signin/android')
14 14
 include ':react-native-immersive'
15 15
 project(':react-native-immersive').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-immersive/android')
16 16
 include ':react-native-keep-awake'

+ 1
- 1
ios/Podfile Переглянути файл

@@ -62,7 +62,7 @@ target 'JitsiMeet' do
62 62
   pod 'react-native-webrtc', :path => '../node_modules/react-native-webrtc'
63 63
   pod 'BVLinearGradient', :path => '../node_modules/react-native-linear-gradient'
64 64
   pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-community/async-storage'
65
-  pod 'RNGoogleSignin', :path => '../node_modules/react-native-google-signin'
65
+  pod 'RNGoogleSignin', :path => '../node_modules/@react-native-community/google-signin'
66 66
   pod 'RNSound', :path => '../node_modules/react-native-sound'
67 67
   pod 'RNSVG', :path => '../node_modules/react-native-svg'
68 68
   pod 'RNWatch', :path => '../node_modules/react-native-watch-connectivity'

+ 31
- 24
ios/Podfile.lock Переглянути файл

@@ -1,5 +1,10 @@
1 1
 PODS:
2 2
   - Amplitude-iOS (4.0.4)
3
+  - AppAuth (1.2.0):
4
+    - AppAuth/Core (= 1.2.0)
5
+    - AppAuth/ExternalUserAgent (= 1.2.0)
6
+  - AppAuth/Core (1.2.0)
7
+  - AppAuth/ExternalUserAgent (1.2.0)
3 8
   - boost-for-react-native (1.63.0)
4 9
   - BVLinearGradient (2.5.6):
5 10
     - React
@@ -62,18 +67,10 @@ PODS:
62 67
     - GoogleUtilities/Network (~> 5.2)
63 68
     - "GoogleUtilities/NSData+zlib (~> 5.2)"
64 69
     - nanopb (~> 0.3)
65
-  - GoogleSignIn (4.4.0):
66
-    - "GoogleToolboxForMac/NSDictionary+URLArguments (~> 2.1)"
67
-    - "GoogleToolboxForMac/NSString+URLArguments (~> 2.1)"
70
+  - GoogleSignIn (5.0.1):
71
+    - AppAuth (~> 1.2)
72
+    - GTMAppAuth (~> 1.0)
68 73
     - GTMSessionFetcher/Core (~> 1.1)
69
-  - GoogleToolboxForMac/DebugUtils (2.2.0):
70
-    - GoogleToolboxForMac/Defines (= 2.2.0)
71
-  - GoogleToolboxForMac/Defines (2.2.0)
72
-  - "GoogleToolboxForMac/NSDictionary+URLArguments (2.2.0)":
73
-    - GoogleToolboxForMac/DebugUtils (= 2.2.0)
74
-    - GoogleToolboxForMac/Defines (= 2.2.0)
75
-    - "GoogleToolboxForMac/NSString+URLArguments (= 2.2.0)"
76
-  - "GoogleToolboxForMac/NSString+URLArguments (2.2.0)"
77 74
   - GoogleUtilities/AppDelegateSwizzler (5.4.1):
78 75
     - GoogleUtilities/Environment
79 76
     - GoogleUtilities/Logger
@@ -92,7 +89,14 @@ PODS:
92 89
     - GoogleUtilities/Logger
93 90
   - GoogleUtilities/UserDefaults (5.4.1):
94 91
     - GoogleUtilities/Logger
95
-  - GTMSessionFetcher/Core (1.2.1)
92
+  - GTMAppAuth (1.0.0):
93
+    - AppAuth/Core (~> 1.0)
94
+    - GTMSessionFetcher (~> 1.1)
95
+  - GTMSessionFetcher (1.2.2):
96
+    - GTMSessionFetcher/Full (= 1.2.2)
97
+  - GTMSessionFetcher/Core (1.2.2)
98
+  - GTMSessionFetcher/Full (1.2.2):
99
+    - GTMSessionFetcher/Core (= 1.2.2)
96 100
   - nanopb (0.3.901):
97 101
     - nanopb/decode (= 0.3.901)
98 102
     - nanopb/encode (= 0.3.901)
@@ -330,8 +334,8 @@ PODS:
330 334
     - ReactCommon/turbomodule/core (= 0.61.1)
331 335
   - RNCAsyncStorage (1.3.4):
332 336
     - React
333
-  - RNGoogleSignin (2.0.0):
334
-    - GoogleSignIn (~> 4.4.0)
337
+  - RNGoogleSignin (3.0.1):
338
+    - GoogleSignIn (~> 5.0.0)
335 339
     - React
336 340
   - RNSound (0.11.0):
337 341
     - React
@@ -386,7 +390,7 @@ DEPENDENCIES:
386 390
   - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
387 391
   - ReactCommon/turbomodule (from `../node_modules/react-native/ReactCommon`)
388 392
   - "RNCAsyncStorage (from `../node_modules/@react-native-community/async-storage`)"
389
-  - RNGoogleSignin (from `../node_modules/react-native-google-signin`)
393
+  - "RNGoogleSignin (from `../node_modules/@react-native-community/google-signin`)"
390 394
   - RNSound (from `../node_modules/react-native-sound`)
391 395
   - RNSVG (from `../node_modules/react-native-svg`)
392 396
   - RNWatch (from `../node_modules/react-native-watch-connectivity`)
@@ -406,12 +410,14 @@ SPEC REPOS:
406 410
     - FirebaseDynamicLinks
407 411
     - FirebaseInstanceID
408 412
     - GoogleAppMeasurement
409
-    - GoogleSignIn
410
-    - GoogleToolboxForMac
411 413
     - GoogleUtilities
412
-    - GTMSessionFetcher
413 414
     - nanopb
414 415
     - ObjectiveDropboxOfficial
416
+  trunk:
417
+    - AppAuth
418
+    - GoogleSignIn
419
+    - GTMAppAuth
420
+    - GTMSessionFetcher
415 421
 
416 422
 EXTERNAL SOURCES:
417 423
   BVLinearGradient:
@@ -479,7 +485,7 @@ EXTERNAL SOURCES:
479 485
   RNCAsyncStorage:
480 486
     :path: "../node_modules/@react-native-community/async-storage"
481 487
   RNGoogleSignin:
482
-    :path: "../node_modules/react-native-google-signin"
488
+    :path: "../node_modules/@react-native-community/google-signin"
483 489
   RNSound:
484 490
     :path: "../node_modules/react-native-sound"
485 491
   RNSVG:
@@ -491,6 +497,7 @@ EXTERNAL SOURCES:
491 497
 
492 498
 SPEC CHECKSUMS:
493 499
   Amplitude-iOS: 2ad4d7270c99186236c1272a3a9425463b1ae1a7
500
+  AppAuth: bce82c76043657c99d91e7882e8a9e1a93650cd4
494 501
   boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
495 502
   BVLinearGradient: e3aad03778a456d77928f594a649e96995f1c872
496 503
   CocoaLumberjack: 2f44e60eb91c176d471fdba43b9e3eae6a721947
@@ -508,10 +515,10 @@ SPEC CHECKSUMS:
508 515
   Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
509 516
   glog: 1f3da668190260b06b429bb211bfbee5cd790c28
510 517
   GoogleAppMeasurement: 6cf307834da065863f9faf4c0de0a936d81dd832
511
-  GoogleSignIn: 7ff245e1a7b26d379099d3243a562f5747e23d39
512
-  GoogleToolboxForMac: ff31605b7d66400dcec09bed5861689aebadda4d
518
+  GoogleSignIn: 3a51b9bb8e48b635fd7f4272cee06ca260345b86
513 519
   GoogleUtilities: 1e25823cbf46540b4284f6ef8e17b3a68ee12bbc
514
-  GTMSessionFetcher: 32aeca0aa144acea523e1c8e053089dec2cb98ca
520
+  GTMAppAuth: 4deac854479704f348309e7b66189e604cf5e01e
521
+  GTMSessionFetcher: 61bb0f61a4cb560030f1222021178008a5727a23
515 522
   nanopb: 2901f78ea1b7b4015c860c2fdd1ea2fee1a18d48
516 523
   ObjectiveDropboxOfficial: a5afefc83f6467c42c45f2253f583f2ad1ffc701
517 524
   RCTRequired: 53825815218847d3e9c7b6d92ad2d197a926d51e
@@ -540,12 +547,12 @@ SPEC CHECKSUMS:
540 547
   React-RCTVibration: 8be61459e3749d1fb02cf414edd05b3007622882
541 548
   ReactCommon: 4fba5be89efdf0b5720e0adb3d8d7edf6e532db0
542 549
   RNCAsyncStorage: 8e31405a9f12fbf42c2bb330e4560bfd79c18323
543
-  RNGoogleSignin: d030c6c6591db24c3cee649f64c7babf0a1699a0
550
+  RNGoogleSignin: 39336070b35fc4cea6a98cf111e00480317be0ae
544 551
   RNSound: c980916b596cc15c8dcd2f6ecd3b13c4881dbe20
545 552
   RNSVG: aac12785382e8fd4f28d072fe640612e34914631
546 553
   RNWatch: 09738b339eceb66e4d80a2371633ca5fb380fa42
547 554
   Yoga: d8c572ddec8d05b7dba08e4e5f1924004a177078
548 555
 
549
-PODFILE CHECKSUM: 0ac392c47cc78d9db03eea7b58950184336d6cf4
556
+PODFILE CHECKSUM: cb84b325b724c6ef7c8b24aa52ca7b6f681a095c
550 557
 
551 558
 COCOAPODS: 1.8.1

+ 1
- 2
ios/sdk/src/JitsiMeet.m Переглянути файл

@@ -90,8 +90,7 @@
90 90
 
91 91
     if ([RNGoogleSignin application:app
92 92
                             openURL:url
93
-                  sourceApplication:options[UIApplicationOpenURLOptionsSourceApplicationKey]
94
-                         annotation:options[UIApplicationOpenURLOptionsAnnotationKey]]) {
93
+                            options:options]) {
95 94
         return YES;
96 95
     }
97 96
 

+ 5
- 5
package-lock.json Переглянути файл

@@ -3062,6 +3062,11 @@
3062 3062
         }
3063 3063
       }
3064 3064
     },
3065
+    "@react-native-community/google-signin": {
3066
+      "version": "3.0.1",
3067
+      "resolved": "https://registry.npmjs.org/@react-native-community/google-signin/-/google-signin-3.0.1.tgz",
3068
+      "integrity": "sha512-RC9c7ATGdq5IKFqw/h4d8eVTDve8FZxMtsarBHKfP09SrQfEgvOebzVr7YNC+4qs7dFqR+0E2vD7nle1s/dQ3A=="
3069
+    },
3065 3070
     "@react-native-community/netinfo": {
3066 3071
       "version": "4.1.5",
3067 3072
       "resolved": "https://registry.npmjs.org/@react-native-community/netinfo/-/netinfo-4.1.5.tgz",
@@ -15441,11 +15446,6 @@
15441 15446
         "jssha": "^2.2.0"
15442 15447
       }
15443 15448
     },
15444
-    "react-native-google-signin": {
15445
-      "version": "2.0.0",
15446
-      "resolved": "https://registry.npmjs.org/react-native-google-signin/-/react-native-google-signin-2.0.0.tgz",
15447
-      "integrity": "sha512-9loM4lcCIdbco5BnmNio7yGaXQKCpCaY1VRmYiTSvC5NjuSf6Ui6jZRee46p/YdaU4yRnS3u5Vct6Psrvr0HNg=="
15448
-    },
15449 15449
     "react-native-immersive": {
15450 15450
       "version": "2.0.0",
15451 15451
       "resolved": "https://registry.npmjs.org/react-native-immersive/-/react-native-immersive-2.0.0.tgz",

+ 1
- 1
package.json Переглянути файл

@@ -35,6 +35,7 @@
35 35
     "@atlaskit/tooltip": "12.1.13",
36 36
     "@microsoft/microsoft-graph-client": "1.1.0",
37 37
     "@react-native-community/async-storage": "1.3.4",
38
+    "@react-native-community/google-signin": "3.0.1",
38 39
     "@react-native-community/netinfo": "4.1.5",
39 40
     "@svgr/webpack": "4.3.2",
40 41
     "@tensorflow-models/body-pix": "1.1.2",
@@ -71,7 +72,6 @@
71 72
     "react-native-background-timer": "2.1.1",
72 73
     "react-native-calendar-events": "github:jitsi/react-native-calendar-events#902e6e92d6bae450a6052f76ba4d02f977ffd8f2",
73 74
     "react-native-callstats": "3.61.0",
74
-    "react-native-google-signin": "2.0.0",
75 75
     "react-native-immersive": "2.0.0",
76 76
     "react-native-keep-awake": "4.0.0",
77 77
     "react-native-linear-gradient": "2.5.6",

+ 1
- 1
react/features/google-api/googleApi.native.js Переглянути файл

@@ -5,7 +5,7 @@ import { NativeModules } from 'react-native';
5 5
 let GoogleSignin;
6 6
 
7 7
 if (NativeModules.RNGoogleSignin) {
8
-    GoogleSignin = require('react-native-google-signin').GoogleSignin;
8
+    GoogleSignin = require('@react-native-community/google-signin').GoogleSignin;
9 9
 }
10 10
 
11 11
 import {

Завантаження…
Відмінити
Зберегти