Hello all,
It's been a long time since I started to use Firebase Notifications in my apps. I noticed recently that if the app is in background the notifications are arriving BUT the code in the event fm_MessageArrived isn't being ran. Only IF the app is onscreen the code runs!
I really don't now since which Android version this changed but tested in and Android 9 and sdk 30 and it's really not running. It's a big problem because if this is the new Android behavior (in IOS it's the default behavior), this means that run jobs in background called by push notifications isn't possible anymore.
Something has changed but I didn't figure out how to fix it. Does anybody have the same problem?
Thanks !
It's been a long time since I started to use Firebase Notifications in my apps. I noticed recently that if the app is in background the notifications are arriving BUT the code in the event fm_MessageArrived isn't being ran. Only IF the app is onscreen the code runs!
I really don't now since which Android version this changed but tested in and Android 9 and sdk 30 and it's really not running. It's a big problem because if this is the new Android behavior (in IOS it's the default behavior), this means that run jobs in background called by push notifications isn't possible anymore.
Something has changed but I didn't figure out how to fix it. Does anybody have the same problem?
Thanks !
Last edited: