Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification not received when device come from offline to online #37

Open
bhaveshvavdiya opened this issue Oct 29, 2015 · 2 comments
Open

Comments

@bhaveshvavdiya
Copy link

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
@ajostergaard
Copy link

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

@prasad-1210
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants