android - Ensure push delivery in fcm -


i using fcm in cordova based app , works, push messages don't delivered device although api call on server returns success. happens on xiaomi phones if app closed 10-12 hours. feels after time phone close , background activity app causing issue. once app restarted, push messages start coming normally. suggestions?

the firebase documentation explain that:

when app server posts message fcm , receives message id back, not mean message delivered device. rather, means accepted delivery. happens message after accepted depends on many factors.

so, when you're calling api success return doesn't mean message got delivered.

fcm still suffering reliability issues: how reliable firebase cloud message?

on xiaomi devices, fcm killed due custom android tweaks improve overall battery life. read more @ xiaomi not receive notification when application not running


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -