I'm working on an iOS app, which I use FirebaseAuth to authinticate my user with phone no, my back end API require to send a _lastnotifiedusertoken
to it after authontication succeeded, bellow an image of returned value.
CodePudding user response:
You can get this value from:
Auth.auth().currentUser?.getIDToken(completion: { token, error in
print(token as Any)
}