From 2cc0f27232b4452b8f6feaca2f1255d7dac63006 Mon Sep 17 00:00:00 2001 From: tad3j Date: Thu, 30 Apr 2020 14:27:06 +0200 Subject: [PATCH] docs: bootstrap function should be async (#3584) [skip-ci] --- docs/firestore/usage/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/firestore/usage/index.md b/docs/firestore/usage/index.md index fb1c32ca..1d6c688f 100644 --- a/docs/firestore/usage/index.md +++ b/docs/firestore/usage/index.md @@ -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 });