a3736786cd
* Update dependency com.google.firebase:firebase-bom to v34.15.0 * Replace deprecated FCM `token` usages with `installationId` Renamed a few components, changed the behaviour of `FirebaseTokenRotator` so it doesn't save the new token, `FirebaseMessagingService` will do it in its `onRegistered` method * Enable firebase messaging installation_id * Make sure we delete the FID when unregistering the app from Firebase * Add `runFirebaseTask` util to convert `Task<T>` into a `Result<T>` returned from a suspending function Also, rename the use cases and make them use the `invoke` pattern --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jorge Martín <jorgem@element.io> Co-authored-by: Benoit Marty <benoit@matrix.org>
Firebase
Configuration
In order to make this module only know about Firebase, the plugin com.google.gms.google-services has been disabled from the app module.
To be able to change the values set to google_app_id in the file build.gradle.kts of this module, you should enable the plugin com.google.gms.google-services again, copy the file google-services.json to the folder /app/src/main, build the project, and check the generated file app/build/generated/res/google-services/<buildtype>/values/values.xml to import the generated values into the build.gradle.kts files.