apnagent icon indicating copy to clipboard operation
apnagent copied to clipboard

Notification not received when device come from offline to online

Open bhaveshvavdiya opened this issue 9 years ago • 2 comments

Apnagent has default value for expires is 1d mean one day.

I am able to send notification to iOS device while device is online.

But, if i turn off internet connectivity & try to send notification it is not working.
I also try with setting agent.set('expires', '1d')

Below are the steps i am following :

  1. Make device offline by turn off all internet connectivity
  2. After that send push notification having expires value as 1 day
  3. After two minutes i make device online by turning internet on
  4. And i wait for 10 minute, still i am not getting any notification

bhaveshvavdiya avatar Oct 29 '15 07:10 bhaveshvavdiya

AFAIK expires should be set on the message not the agent.

ajostergaard avatar Oct 30 '15 06:10 ajostergaard

+1. same issue but 10min's. Any workaround's?

prasad-1210 avatar Jan 03 '16 07:01 prasad-1210