Firebase Cloud Messaging is Missing the First Message Occasionally
08:15 23 Mar 2026

What is included in my FCM message:

  1. Data payload (only)
  2. High priority

What is working now so far:

  1. Data message is delived when app is in foreground.
  2. Data message is delived when app is in background.
  3. Data message is delived when app is killed (not long ago).

What is not working so far:

  1. When device is in Doze mode (not charging, not moving) for more than 2 hours, the first FCM message is not delived occasionally (approximately 10% of chance), however the second FCM message is delived 100%. PS: IGNORE_BATTERY_OPTIMIZATION permission is granted.

Test device: Samsung Z Fold5

android firebase push-notification firebase-cloud-messaging android-push-notification