I implemented Google sign in and everything works on iOS 8. But when I call this line on iOS 9:
GIDSignIn.sharedInstance().signIn()
I'm able to log in the first time. But if I cancel, the next time I try to log in it shows a white screen where the normal user approval web view would be.
This even happens when I delete the app and reinstall it, meaning that something might be getting cached at the OS level.
The only solution is to reopen the iOS Simulator or restart my iPhone.
I've tried all these answers with no luck. I've also tried GIDSignIn.sharedInstance().signIn().allowsSignInWithWebView = true hoping that authorizing through Safari might work, but Safari never opens. My Podfile has pod 'Google/SignIn' so I don't think it's a version issue.
I'm at a loss at this point, because this goes beyond the scope of my app, and all I can think of is to deconstruct a working example app and compare its settings with my app line by line.
Does someone have a link to a working example app?