mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-23 20:10:05 +08:00
Merge branch 'v2' of github.com:invertase/react-native-firebase into v2
This commit is contained in:
@@ -73,7 +73,7 @@ firebase.analytics().setSessionTimeoutDuration(900000);
|
||||
|
||||
#### `setUserId(id: string): void`
|
||||
|
||||
Gives a user a uniqiue identificaition.
|
||||
Gives a user a unique identification.
|
||||
|
||||
```javascript
|
||||
const id = firebase.auth().currentUser.uid;
|
||||
|
||||
@@ -279,7 +279,7 @@ Updates a user's profile data. Profile data should be an object of fields to upd
|
||||
```javascript
|
||||
firebase.auth().currentUser
|
||||
.updateProfile({
|
||||
displayName: 'Ari Lerner'
|
||||
displayName: 'Display Name'
|
||||
})
|
||||
.then()
|
||||
.catch();
|
||||
|
||||
Reference in New Issue
Block a user