Skip to content

fix(auth): ios providerData properties undefined #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

delaneyb
Copy link
Contributor

This PR fixes an issue where all properties of providerData values on the user were appearing as undefined on iOS e.g.

console.log(firebase.auth().currentUser.providerData[0].toJSON())

produces

{
  displayName: undefined
  email: undefined
  phoneNumber: undefined
  photoURL: undefined
  providerId: undefined
  uid: undefined
}

@cla-bot cla-bot bot added the cla: yes label Oct 31, 2022
@triniwiz triniwiz merged commit 0836a95 into NativeScript:main Oct 31, 2022
@delaneyb delaneyb deleted the fix-ios-auth-providerdata branch November 3, 2022 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants