Merge branch 'master' into v2

This commit is contained in:
Chris Bianca 2017-06-16 15:04:27 +01:00
commit 1903ec7cfa
3 changed files with 3 additions and 2 deletions

View File

@ -28,6 +28,7 @@ The native SDKs also allow us to hook into device sdk's which are not possible w
--- ---
## Supported Firebase Features ## 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 | | Firebase Features | v1 | [v2](https://github.com/invertase/react-native-firebase/pull/130) | Web SDK |
| ---------------------- | :---: | :---: | :---: | | ---------------------- | :---: | :---: | :---: |

View File

@ -73,7 +73,7 @@ firebase.analytics().setSessionTimeoutDuration(900000);
#### `setUserId(id: string): void` #### `setUserId(id: string): void`
Gives a user a uniqiue identificaition. Gives a user a unique identification.
```javascript ```javascript
const id = firebase.auth().currentUser.uid; 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 ```javascript
firebase.auth().currentUser firebase.auth().currentUser
.updateProfile({ .updateProfile({
displayName: 'Ari Lerner' displayName: 'Display Name'
}) })
.then() .then()
.catch(); .catch();