element-x-ada/libraries/pushproviders/firebase
Jorge Martin Espinosa efdc10e60a
Add catchingExceptions method to replace runCatching (#4797)
- Add `runCatchingExceptions` and `mapCatchingExceptions` to replace `runCatching` and `mapCatching`.
- Make `tryOrNull { ... }` catch only exceptions too.
- Apply the changes to the whole project.
- Add new Rust fakes for tests to handle the code that's now unblocked - previously it just threw an `UnsatisfiedLinkError` which we ignored.
- Add a new `detekt-rules` project with a `RunCatchingRule` to prevent `runCatching` and `mapCatching` usages.
2025-06-04 09:02:26 +02:00
..
src Add catchingExceptions method to replace runCatching (#4797) 2025-06-04 09:02:26 +02:00
build.gradle.kts Merge branch 'develop' into feature/bma/customPushGateway 2025-03-13 11:39:47 +01:00
consumer-proguard-rules.pro Fix R8 error, due to exclusion of analytics group done in #1221. 2023-09-06 08:58:32 +02:00
README.md Move google_app_id from resource file to build.gradle.kts file and use different values for enterprise build. 2024-07-02 16:32:47 +02:00

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.