Created
August 4, 2018 10:13
-
-
Save atanasovdejan/5679051ca6ad61bb511f55297fbbb787 to your computer and use it in GitHub Desktop.
Firebase reload user details
This file contains 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
func reloadUser(_ callback: ((Error?) -> ())? = nil){ | |
Auth.auth().currentUser?.reload(completion: { (error) in | |
callback?(error) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment