Skip to content

Commit c743429

Browse files
feat: add Firebase basic configuration for push notifications (#391)
* Add Firebase configuration for push notifications * Add Firebase Linux compatibility documentation and notes * Add comprehensive FCM implementation documentation * Update Firebase dependencies to latest versions * Update mostro-push-server repository URL to organization account * Update FCM implementation documentation with phase completion status * Add detailed MIP-05 implementation comparison and privacy analysis
1 parent b594627 commit c743429

File tree

11 files changed

+721
-3
lines changed

11 files changed

+721
-3
lines changed

.firebaserc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "mostro-mobile"
4+
}
5+
}

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ android/app/upload-keystore.jks
4545
*.apk
4646
.cxx/
4747

48-
# Firebase and Google Services
49-
android/app/google-services.json
50-
ios/Runner/GoogleService-Info.plist
48+
# Firebase and Google Services (public credentials - safe to commit)
5149

5250
# Web
5351
web/.dart_tool/

android/app/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
plugins {
22
id "com.android.application"
3+
// START: FlutterFire Configuration
4+
id 'com.google.gms.google-services'
5+
// END: FlutterFire Configuration
36
id "kotlin-android"
47
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
58
id "dev.flutter.flutter-gradle-plugin"

android/app/google-services.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"project_info": {
3+
"project_number": "375342057498",
4+
"project_id": "mostro-mobile",
5+
"storage_bucket": "mostro-mobile.firebasestorage.app"
6+
},
7+
"client": [
8+
{
9+
"client_info": {
10+
"mobilesdk_app_id": "1:375342057498:android:4ef7011ab12de38e86e9a3",
11+
"android_client_info": {
12+
"package_name": "network.mostro.app"
13+
}
14+
},
15+
"oauth_client": [],
16+
"api_key": [
17+
{
18+
"current_key": "AIzaSyCOrsfYrkIItBLAFbnYmh4HnsxBTnT3y14"
19+
}
20+
],
21+
"services": {
22+
"appinvite_service": {
23+
"other_platform_oauth_client": []
24+
}
25+
}
26+
}
27+
],
28+
"configuration_version": "1"
29+
}

android/settings.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ pluginManagement {
1919
plugins {
2020
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
2121
id "com.android.application" version "8.6.0" apply false
22+
// START: FlutterFire Configuration
23+
id "com.google.gms.google-services" version "4.4.4" apply false
24+
// END: FlutterFire Configuration
2225
id "org.jetbrains.kotlin.android" version "2.1.0" apply false
2326
}
2427

0 commit comments

Comments
 (0)