Browse Source

ios: fix Goggle Sign-In deep-lining

master
Saúl Ibarra Corretgé 7 years ago
parent
commit
37d3625210
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      ios/sdk/src/JitsiMeetView.m

+ 9
- 0
ios/sdk/src/JitsiMeetView.m View File

@@ -22,6 +22,8 @@
22 22
 #import <React/RCTLinkingManager.h>
23 23
 #import <React/RCTRootView.h>
24 24
 
25
+#import <RNGoogleSignin/RNGoogleSignin.h>
26
+
25 27
 #import "Dropbox.h"
26 28
 #import "Invite+Private.h"
27 29
 #import "InviteController+Private.h"
@@ -146,6 +148,13 @@ static NSMapTable<NSString *, JitsiMeetView *> *views;
146 148
         return YES;
147 149
     }
148 150
 
151
+    if ([RNGoogleSignin application:app
152
+                            openURL:url
153
+                  sourceApplication:options[UIApplicationOpenURLOptionsSourceApplicationKey]
154
+                         annotation:options[UIApplicationOpenURLOptionsAnnotationKey]]) {
155
+        return YES;
156
+    }
157
+
149 158
     // XXX At least twice we received bug reports about malfunctioning loadURL
150 159
     // in the Jitsi Meet SDK while the Jitsi Meet app seemed to functioning as
151 160
     // expected in our testing. But that was to be expected because the app does

Loading…
Cancel
Save