Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 06d3032

Browse files
[auth] - Update User to match web api interface #1217
1 parent dbc91d4 commit 06d3032

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
> Note: The Firebase iOS SDK now requires Xcode 10.1 or later.
1010
11+
> Also note that there's a little breaking change that's easy to fix: the `name` and `profileImageURL` properties of the login result object have new names: `displayName` and `photoURL` respectively.
12+
1113
## 8.1.1 (2019, March 24)
1214
[Fixes & Enhancements](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/milestone/97?closed=1)
1315

docs/AUTHENTICATION.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ All login functions below, as well as `getCurrentUser` return a 'User' object wi
2323
|`emailVerified`|no|You can send an email with a verification link which this refers to
2424
|`providers`|no|An array of {id: value} objects, where value can be 'facebook.com', etc
2525
|`email`|yes|Not all providers require an email address
26-
|`name`|yes|The name stored at the provider
27-
|`profileImageURL`|yes|A string containing a link to a user image on the web
26+
|`displayName`|yes|The name stored at the provider. Note that before plugin version 8.2.0 this was called `name`.
27+
|`photoURL`|yes|A string containing a link to a user image on the web. Note that before plugin version 8.2.0 this was called `profileImageURL`.
2828
|`phoneNumber`|yes|The user's phone number
2929
|`refreshToken`|yes|iOS only
3030
|`additionalUserInfo`|no|See `AdditionalUserInfo` below

0 commit comments

Comments
 (0)