Skip to content

fix(auth): ios providerData properties undefined#145

Merged
triniwiz merged 1 commit into
NativeScript:mainfrom
Yellowbox-AU:fix-ios-auth-providerdata
Oct 31, 2022
Merged

fix(auth): ios providerData properties undefined#145
triniwiz merged 1 commit into
NativeScript:mainfrom
Yellowbox-AU:fix-ios-auth-providerdata

Conversation

@delaneyb

Copy link
Copy Markdown
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