Files
letro-android/libraries/pushproviders/firebase
Jorge Martin Espinosa 4725148919 Try handling ForegroundServiceStartNotAllowedException better (#6483)
* Try handling `ForegroundServiceStartNotAllowedException` better

The docs mention starting a foreground service when the app is on background is allowed when FCM receives a high priority notification, so we don't do it if the priority is not high.

Also, we handle the case where starting the foreground service fails so it doesn't crash the app.
2026-03-30 18:44:08 +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.