Push notifications lifetime


#1

Hi, I started using Firebase in my expo android build and push notifications are working fine.

But I noticed notifications are lost when my smartphone has no active internet connections for some hours.

Is there any rule about this?


#2

Hi @jirico - could you provide some more information? When you say notifications are lost, do you mean push notifications that you’ve already received disappear? Does this only happen with notifications from Expo apps, and not other push notifications?


#3

Hi @esamelson, I mean the notifications do not arrive at my smartphone.

I went to sleep and turned off wifi. My server sent some notifications to expo but the notifications didn’t arrive in the morning when I turned my wifi on again.


#4

Hi @jirico - I think this may be an OS-level issue, rather than Expo specific. Do other (non-expo) notifications arrive in this case?


#5

Yes, WhatsApp and Gmail notifications arrived. I will try again tonight.


#6

It happened again. I personally triggered a notification just before I went to sleep and when I turn on wifi the notification didn’t arrive.

But maybe it’s some problem in my device, since the notifications that arrived were just from 2 hours before I turned on.

When I go to production I will have a better idea of the problem origin :slight_smile:


#7

@jirico - we’ve been having some problems with the GCM push notification service (default for Android Expo) being flaky, so you might try switching to FCM to see if that makes the problem go away. Note that FCM is standalone only, for now. See here for more information


closed #8

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.