B4X FEED Firebase Notifications Problem

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Firebase Notifications Problem است. این موضوع تا کنون 40 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Firebase Notifications Problem
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
40
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
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 !

 

عقب
بالا