Merge branch 'v2' of github.com:invertase/react-native-firebase into v2

This commit is contained in:
Elliot Hesp
2017-06-16 15:35:38 +01:00
18 changed files with 206 additions and 257 deletions

View File

@@ -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;

View File

@@ -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();