Skip to content

Commit b3d97d5

Browse files
authored
Analytics snippets (#5)
1 parent 22f5e9a commit b3d97d5

File tree

4 files changed

+545
-4
lines changed

4 files changed

+545
-4
lines changed

packages/firebase_snippets_app/lib/firebase_options.dart

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ class DefaultFirebaseOptions {
5050
);
5151
}
5252

53+
/// Per this SO answer by Puf@, it is okay to put this info in GitHub,
54+
/// as its not really 'secret' https://stackoverflow.com/a/37484053
55+
///
56+
/// Instead of hiding this information, security should be handled
57+
/// with access rules to individual products.
5358
static const FirebaseOptions web = FirebaseOptions(
5459
apiKey: 'AIzaSyDu2FRBnv0pV01dHHOQuk26pR1oYcZpGTE',
5560
appId: '1:220375889386:web:bc468dd9e586597b6bae93',
@@ -74,8 +79,7 @@ class DefaultFirebaseOptions {
7479
projectId: 'flutter-fire-snippets',
7580
storageBucket: 'flutter-fire-snippets.appspot.com',
7681
iosClientId:
77-
'220375889386-8v73sv2lia3e7c12h0btp2tfbj0um4it.apps.googleusercontent.com',
82+
'220375889386-8v73sv2lia3e7c12h0btp2tfbj0um4it.apps.googleusercontent.com',
7883
iosBundleId: 'com.fluttersnippets.app',
7984
);
80-
8185
}

0 commit comments

Comments
 (0)