Page 8 of 9
Push Notification alert not working since update
Posted: Mon Nov 30, 2015 9:17 pm
by Voltaire
Hello Evgene again 
I did modify the plist file by adding the following
UIRequiresFullScreen
The application ran on iphone , registered itself and , yes as you mentioned before concerning the new phonegap plugin , it detects another device id.
Still that the user has to open the app after updating the version otherwise, he won't get a push notification since the old device id remains in the database but he app won't receive the push unless he opens the app after updating to register the new device id.
Push Notification alert not working since update
Posted: Fri Dec 04, 2015 4:26 am
by pakbull6772540
Evgene,
Where is the "push" variable defined. I have tried to use the above, but it does not work and gives an error message. The PushInit Event is not called.
I have also tried PushNotification and that is also undefined.
I am using v3.0 latest build. I understand that the push plugin has changed, but need to know how and where the variable 'push' is defined.
Push Notification alert not working since update
Posted: Fri Dec 04, 2015 12:28 pm
by Voltaire
it is global variable , you can call it directly
this method is used to clear the badge icon on the IOS.
Push Notification alert not working since update
Posted: Fri Dec 04, 2015 9:41 pm
by pakbull6772540
Ok. But I am using v3.0 library and get the error "Can't find variable: push' no matter where I use it.
so obviously I am missing out on having this variable defined. Is there somewhere I need to initialize it?
Push Notification alert not working since update
Posted: Thu Dec 24, 2015 2:26 pm
by Alena Prykhodko
Hello,
On Load event try this code:
pre
$(document).on("push-notification", function(event, data) {
//your code
});
/pre
Push Notification alert not working since update
Posted: Fri Feb 05, 2016 11:52 pm
by Mauro Romer
Alena,
It isn't work.
"push" variable not defined.
Can you help me, please.
Push Notification alert not working since update
Posted: Sat Feb 06, 2016 12:53 am
by Mauro Romer
I opened a ticket with this problem.
https://apperyio.zendesk.com/hc/reque...
Please help, to publish my app with upgrade the Libraries Version 3.
Push Notification alert not working since update
Posted: Sat Feb 06, 2016 1:36 am
by Mauro
In android is work. And IOS Isn't work
Push Notification alert not working since update
Posted: Sat Feb 06, 2016 10:06 am
by Evgene Karachevtsev
Hello Mauro,
We're working on it and will get back to you with the update via email.
Push Notification alert not working since update
Posted: Sat Feb 06, 2016 1:49 pm
by Mauro