apnagent
apnagent copied to clipboard
Notification not received when device come from offline to online
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 :
- Make device offline by turn off all internet connectivity
- After that send push notification having expires value as 1 day
- After two minutes i make device online by turning internet on
- And i wait for 10 minute, still i am not getting any notification
AFAIK expires should be set on the message not the agent.
+1. same issue but 10min's. Any workaround's?