Page 1 of 1
Push question
Posted: Fri Oct 11, 2013 1:20 pm
by Kevin Preston
I would like to be able to receive a push notification in my app and then decide, based on the content of the push, whether or not to alert the user using the native notification methods. The user could then click the notification and go to the app as normal. Is this possible? I have found that if you switch 'show alert' off in app settings then the app does not receive the push unless it is active. If you have 'show alert' on then it is too late for the app to decide what to do with the push as it is already presented to the user.
Push question
Posted: Fri Oct 11, 2013 2:02 pm
by Maryna Brodina
Working on it, I'll update.
Push question
Posted: Fri Oct 11, 2013 4:55 pm
by Kateryna Grynko
Hi Kevin,
You understand Push logic correctly. This seems to be impossible.
Push question
Posted: Mon Oct 14, 2013 10:00 am
by Kevin Preston
Do you know if this is this a limitation of Phonegap or Android/IOS?
Push question
Posted: Mon Oct 14, 2013 1:34 pm
by Kateryna Grynko
Kevin,
This is the OS restriction.
Push question
Posted: Tue Oct 15, 2013 10:10 am
by Kevin Preston
Katya,
I have been looking at the documentation for GCM ( http://developer.android.com/google/g... )and it seems that in Android at least it is possible to receive the push notifications without having the notification showing first. So the app receives the push (whether it is awake or not), performs some 'work' and then decides whether or not to display a notification. Are you likely to be adding this functionality in your November release?
Push question
Posted: Tue Oct 15, 2013 1:06 pm
by Kateryna Grynko
Hi Kevin,
No, this won't be added in November. You can find our roadmap here:
http://docs.appery.io/roadmap/