We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdcbbf8 commit 9cc3c67Copy full SHA for 9cc3c67
ios/Plugin/Plugin.swift
@@ -13,7 +13,10 @@ public class GoogleAuth: CAPPlugin {
13
var forceAuthCode: Bool = false;
14
15
public override func load() {
16
- guard let path = Bundle.main.path(forResource: "GoogleService-Info", ofType: "plist") else {return}
+ guard let path = Bundle.main.path(forResource: "GoogleService-Info", ofType: "plist") else {
17
+ print("GoogleService-Info.plist not found");
18
+ return;
19
+ }
20
guard let dict = NSDictionary(contentsOfFile: path) as? [String: AnyObject] else {return}
21
guard let clientId = dict["CLIENT_ID"] as? String else {return}
22
googleSignIn.clientID = clientId;
0 commit comments