Created
April 19, 2018 03:39
-
-
Save rromanchuk/8917d4ce212951dd03b85501faac6a44 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://stackoverflow.com/questions/49771555/firebase-auth-error-data-parameter-is-nil-calling-getidtokenforcingrefresh | |
// https://github.com/firebase/firebase-ios-sdk/issues/1072 | |
// https://github.com/firebase/firebase-ios-sdk/issues/1140 | |
func applicationDidBecomeActive(_ application: UIApplication) { | |
if let currentUser = Auth.auth().currentUser { | |
currentUser.getIDToken { (token, error) in | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment