Skip to content

Commit aea9232

Browse files
committed
updated advanced configureation
1 parent 684712a commit aea9232

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

docs/getting-started/README.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,26 @@ modules: [
5454
{
5555
// Required:
5656
config: {
57-
apiKey: '<apiKey>',
58-
authDomain: '<authDomain>',
59-
databaseURL: '<databaseURL>',
60-
projectId: '<projectId>',
61-
storageBucket: '<storageBucket>',
62-
messagingSenderId: '<messagingSenderId>',
63-
appId: '<appId>',
64-
measurementId: '<measurementId>'
57+
production: {
58+
apiKey: '<apiKey>',
59+
authDomain: '<authDomain>',
60+
databaseURL: '<databaseURL>',
61+
projectId: '<projectId>',
62+
storageBucket: '<storageBucket>',
63+
messagingSenderId: '<messagingSenderId>',
64+
appId: '<appId>',
65+
measurementId: '<measurementId>'
66+
},
67+
development: {
68+
apiKey: '<apiKey>',
69+
authDomain: '<authDomain>',
70+
databaseURL: '<databaseURL>',
71+
projectId: '<projectId>',
72+
storageBucket: '<storageBucket>',
73+
messagingSenderId: '<messagingSenderId>',
74+
appId: '<appId>',
75+
measurementId: '<measurementId>'
76+
}
6577
},
6678
// The following options are optional:
6779
useOnly: ['auth','firestore','functions','storage','realtimeDb', 'messaging', 'performance', 'analytics', 'remoteConfig'],

0 commit comments

Comments
 (0)