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

Commit

Permalink
Merge pull request #67 from willhlaw/signOut-option
Browse files Browse the repository at this point in the history
Correct iOSEmulatorFlush misspelling in readme
  • Loading branch information
EddyVerbruggen authored Jul 7, 2016
2 parents 426b58f + b1c3ffd commit fff74e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ or
```

This is [a known issue in the Firebase SDK](http://stackoverflow.com/questions/37857131/swift-firebase-database-invalid-token-error).
I always use a real device to avoid this problem, but you can pass an 'iOSSimulatorFlush' option to init.
I always use a real device to avoid this problem, but you can pass an 'iOSEmulatorFlush' option to init.
```
firebase.init({
// Optionally pass in properties for database, authentication and cloud messaging,
// see their respective docs and 'iOSSimulatorFlush' to flush token before init.
iOSSimulatorFlush: true
// see their respective docs and 'iOSEmulatorFlush' to flush token before init.
iOSEmulatorFlush: true
}).then()
```

Expand Down

0 comments on commit fff74e0

Please sign in to comment.