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

How to handle push notifications, while the app is not running? #21

Open
luxio opened this issue Aug 22, 2016 · 1 comment
Open

How to handle push notifications, while the app is not running? #21

luxio opened this issue Aug 22, 2016 · 1 comment
Labels

Comments

@luxio
Copy link
Contributor

luxio commented Aug 22, 2016

The sample at https://github.com/signalpoint/push_notifications/blob/7.x-1.x/README.md#receiving-a-push-notification only works, if the push notification is received, while the app is running.

How can I handle a push notification, which the user selects, if the app is not running?

@signalpoint
Copy link
Owner

@luxio This is an interesting question, and I'm not sure who has the solution. With the latest version of Android on my phone, I notice that it now puts applications to sleep after 3 days of no-use, and these applications can't receive push notifications. I'm guessing the solution lies up in the push notifications plugin for cordova/phonegap, and probably requires an extra application install permission.

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

No branches or pull requests

2 participants