docs: bootstrap function should be async (#3584)

[skip-ci]
This commit is contained in:
tad3j
2020-04-30 14:27:06 +02:00
committed by GitHub
parent bafa5853f2
commit 2cc0f27232

View File

@@ -608,7 +608,7 @@ sensitive information). The `settings()` method must be called before any Firest
```js
import firestore from '@react-native-firebase/firestore';
function bootstrap() {
async function bootstrap() {
await firestore().settings({
persistence: false, // disable offline persistence
});