last day (15 days later) » 

11:57 AM
0
A: GID.sharedInstance().signIn() crashes app

kjoeyou must set the key of app to the delegate of GIDSingIn in the view didLoad do this override func viewDidLoad() { super.viewDidLoad() GIDSignIn.sharedInstance().uiDelegate = self GIDSignIn.sharedInstance().delegate = self GIDSignIn.sharedInstance().clientID = "yourappkey.apps....

 
Hi, first of all, I want to thank you because it doesn't crash anymore! but the methods you provided here are not the methods desired by the protocol... what I must implement is func sign(_ signIn: GIDSignIn!, didSignInFor user: GIDGoogleUser!, withError error: Error!) { } and I dont know how to load google view. nothing happens when I press the google button.
 
this method are just for presenting the singing viewcontroller in your viewcontroller you already have the singIn func
 
literally, nothing happens whether I have these methods or not... this is frustrating
 
remove the extra methods in your appDelegate and check what you deployment target.
also print the error in you singin func perhas is retorning some error that you are missing
 
what extra method?
 
11:57 AM
the one with @avaible
 
hey :)
I have two for different versions
 
are you still supporting ios 8
 
actually Im developing for fun now..
but I want to
I found out that if Im deleting the user from firebase database, it is working!
but once I am pressing sign in with google again, it simply letting me in without asking for gmail account
do you have any idea how to request account verification each time?
 
12:14 PM
check for firebase autentication
 
I am practically living there haha
can't find the solution
but thanks for your help !!
 

last day (15 days later) »