I get this error in the Firebase Crashlytics console:
It happens only in Android 12 and 13.
I use B4A 12, FirebaseNotifications lib 3.00, B4J to send the messages and this code from Erel.
What could be happen?
How can I fix this?
Thanks in advance for any tips.
B4X:
Fatal Exception: java.lang.RuntimeException: Unable to start receiver br.com.myprofile.firebasemessaging$firebasemessaging_BR: android.app.ForegroundServiceStartNotAllowedException: startForegroundService() not allowed due to mAllowStartForeground false: service br.com.myprofile/.firebasemessaging
I use B4A 12, FirebaseNotifications lib 3.00, B4J to send the messages and this code from Erel.
What could be happen?
How can I fix this?
Thanks in advance for any tips.