I am receiving push notification for my android app as per my requirement. But facing a strange problem. If internet is not connected in the mobile and we send push message from third party server, we can’t get the notification. Understood !!!! But the moment it is connected, it should receive those notifications which were previously pushed . I am not getting those notifications even though I am connecting internet to my device, which was not connected when the notification was been send . I am facing this problem. What might be the cause??????
Thanks in Advance!!!!
You can’t receive any push notifications if your internet is turned off.
You can check the lifetime of a message.
Addition
Try adding this set of codes to the bottom of your onMessage()