-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Labels
p: firebaseFirebase pluginsFirebase pluginsp: firebase_authThe Firebase Auth pluginThe Firebase Auth pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyplatform-iosiOS applications specificallyiOS applications specifically
Description
The firebase user data that I get from FirebaseAuth.instance.currentUser() is inconsistent. Here is the result that I get:
{
"android": {
"uid": "ZyGkKQalyleXQiNqDyNMjlk8E4U2",
"isAnonymous": false,
"phoneNumber": "+498531790054",
"providerData": [
{
"uid": "ZyGkKQalyleXQiNqDyNMjlk8E4U2",
"phoneNumber": "+498531790054",
"providerId": "firebase",
"displayName": "Răzvan Lung"
}
],
"providerId": "firebase",
"displayName": "Răzvan Lung",
"creationTimestamp": 1550206057352,
"lastSignInTimestamp": 1550206057352,
"isEmailVerified": false
},
"ios": {
"uid": "ZyGkKQalyleXQiNqDyNMjlk8E4U2",
"isAnonymous": false,
"phoneNumber": "+498531790054",
"providerData": [
{
"email": null,
"providerId": "phone",
"photoUrl": null,
"displayName": null,
"uid": null,
"phoneNumber": "+498531790054"
}
],
"providerId": "Firebase",
"displayName": "Răzvan Lung",
"email": "email@gmail.com",
"photoUrl": null,
"lastSignInTimestamp": 1550207896,
"creationTimestamp": 1550206057,
"isEmailVerified": false
}
}The timestamps are a big issue. Also on android the provider is different.
Metadata
Metadata
Assignees
Labels
p: firebaseFirebase pluginsFirebase pluginsp: firebase_authThe Firebase Auth pluginThe Firebase Auth pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyAndroid applications specificallyplatform-iosiOS applications specificallyiOS applications specifically