2
0
mirror of synced 2025-01-11 14:44:12 +00:00

[docs][core] persistence on dynamically created apps

This commit is contained in:
Salakar 2017-10-05 13:02:37 +01:00
parent 658821a631
commit 77e5085a85

View File

@ -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(