I'm trying to implement remote push notification on my android application using FCM, it works perfectly when there's an internet connection. But when putting the device in airplane mode, then sending several remote push notifications, then reconnect back I only receive the latest one.
I have tried changing the TTL in the payload, using differents collapse key and changing priority. Nothing worked. Here's a sample of my notification payload:
{"GCM": "{ \"notification\": { \"text\": \"test\", \"title\": \"Titre\" },\"data\": { \"time_to_live\": 3600,\"collapse_key\":\"deals\"}, \"priority\": \"high\" }"}
FYI: The notification itself is sent from AWS SNS to FCM.
Anyone know the reason we only receive the latest one and how to make it so that we receive everything?
