         //        print ("Got disconnected")
     }
     
-    public func handleApplicationOpenUrl(openURL url: NSURL, sourceApplication: String?, annotation: AnyObject) -> Bool {
+    public func handleApplicationOpenUrl(openURL url: NSURL, sourceApplication: String?, annotation: Any) -> Bool {
         return GIDSignIn.sharedInstance().handle(url as URL!, sourceApplication: sourceApplication, annotation: annotation)
     }
     
     @available(iOS 9.0, *)
-    public func handleApplicationOpenUrl(openURL url: NSURL, options: [String : AnyObject]) -> Bool {
+    public func handleApplicationOpenUrl(openURL url: NSURL, options: [UIApplicationOpenURLOptionsKey : Any]) -> Bool {
         return GIDSignIn.sharedInstance().handle(url as URL!,
-            sourceApplication: options[UIApplicationOpenURLOptionsSourceApplicationKey] as? String,
-            annotation: options[UIApplicationOpenURLOptionsAnnotationKey] as? String)
+                                                 sourceApplication: options[UIApplicationOpenURLOptionsKey.sourceApplication] as? String,
+                                                 annotation: options[UIApplicationOpenURLOptionsKey.annotation] as? String)
     }
     
     // Stop the UIActivityIndicatorView animation that was started when the user

    
    public var localVC : UIViewController?
    private var authContext: AuthenticationContext?
    static let logger = Logger.logger(forName: "bmssdk.security.GoogleAuthenticationManager")
    
    public static let sharedInstance:GoogleAuthenticationManager = GoogleAuthenticationManager()
    

    
    public var localVC : UIViewController?
    private var authContext: AuthenticationContext?
    static let logger = Logger.logger(name: "bmssdk.security.GoogleAuthenticationManager")
    
    public static let sharedInstance:GoogleAuthenticationManager = GoogleAuthenticationManager()
    
