Merge branch 'master' into v2
This commit is contained in:
commit
1903ec7cfa
|
@ -28,6 +28,7 @@ The native SDKs also allow us to hook into device sdk's which are not possible w
|
|||
---
|
||||
|
||||
## Supported Firebase Features
|
||||
> The Web SDK column indicates what modules from the Firebase Web SDK are usable within React Native.
|
||||
|
||||
| Firebase Features | v1 | [v2](https://github.com/invertase/react-native-firebase/pull/130) | Web SDK |
|
||||
| ---------------------- | :---: | :---: | :---: |
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue