chore(android): prepare native FCM push (Sygnal) wiring behind google-services.json

This commit is contained in:
Erwan Leboucher committed 2026-07-17 20:50:19 +02:00
1 parent 38fd34f708
commit 328288cd68
3 files changed
+8

No files matched your search

+1
View File
@@ -11,6 +11,7 @@
"pushNotifyUrl": "https://sygnal.sable.moe/_matrix/push/v1/notify",
"vapidPublicKey": "BCnS4SbHjeOaqVFW4wjt5xDt_pYIL62qMzKePfYF9fl9PQU14RieIaObh7nLR_9dQf4sykZa-CTrcjkgMIE1mcg",
"webPushAppID": "moe.sable.app.sygnal",
"nativePushAppID": "moe.sable.client.android",
"unifiedPushAppID": "moe.sable.up"
},
@@ -84,3 +84,9 @@ dependencies {
}
apply(from = "tauri.build.gradle.kts")
// Native FCM push (Sygnal): applies only once google-services.json is added to this
// directory, so builds without Firebase configured still succeed.
if (file("google-services.json").exists()) {
apply(plugin = "com.google.gms.google-services")
}
+1
View File
@@ -6,6 +6,7 @@ buildscript {
dependencies {
classpath("com.android.tools.build:gradle:8.11.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.0")
classpath("com.google.gms:google-services:4.5.0")
}
}