Skip to content

Instantly share code, notes, and snippets.

@atanasovdejan
Created August 4, 2018 10:13
Show Gist options
  • Save atanasovdejan/5679051ca6ad61bb511f55297fbbb787 to your computer and use it in GitHub Desktop.
Save atanasovdejan/5679051ca6ad61bb511f55297fbbb787 to your computer and use it in GitHub Desktop.
Firebase reload user details
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