From 77e5085a85895baaaa02cfe19de4f70ebe75c574 Mon Sep 17 00:00:00 2001 From: Salakar Date: Thu, 5 Oct 2017 13:02:37 +0100 Subject: [PATCH] [docs][core] persistence on dynamically created apps --- docs/core/initialize-apps.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/core/initialize-apps.md b/docs/core/initialize-apps.md index 16ccca71..8bda76f1 100644 --- a/docs/core/initialize-apps.md +++ b/docs/core/initialize-apps.md @@ -30,6 +30,9 @@ const iosConfig = { storageBucket: 'x', messagingSenderId: 'x', projectId: 'x', + + // enable persistence by adding the below flag + persistence: true, }; // pluck values from your `google-services.json` file you created on the firebase console @@ -41,6 +44,9 @@ const androidConfig = { storageBucket: 'x', messagingSenderId: 'x', projectId: 'x', + + // enable persistence by adding the below flag + persistence: true, }; const kittensApp = firebase.initializeApp(