mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 00:51:17 -08:00
chore(android): prepare native FCM push (Sygnal) wiring behind google-services.json
This commit is contained in:
3 files changed
+8
No files matched your search
@@ -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")
|
||||
}
|
||||
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user