Page 7 of 9

Push Notification alert not working since update

Posted: Fri Nov 27, 2015 5:18 pm
by Evgene Karachevtsev

Voltaire,

We managed to reproduce the issue and working on it. We'll get back to you with the update.


Push Notification alert not working since update

Posted: Fri Nov 27, 2015 5:30 pm
by Voltaire

Thanks Evgene, I understand that there will be some bugs during upgrading or any source modification, but please take into consideration these 2 major problems:
Missing the ability to register the device ID in version 2.3 and above (in my case)
and in case of a new version under 2.3 or 3.0 , the device ID has changed as mentioned previously (difference in device ID format... )


Push Notification alert not working since update

Posted: Fri Nov 27, 2015 7:44 pm
by Vinny B

Voltaire are you saying that users can have two different devices registered? Since the device ID is in a different format?

Vinny


Push Notification alert not working since update

Posted: Fri Nov 27, 2015 8:13 pm
by Voltaire

Vinny, I realized that when using the v 3.0 the Device ID is other than when using v 2.2 , so in case we upgraded our app to v 3.0 and people updated the app without opening it, they won't receive push since the device ID has changed, did you look at your devices table in the databases of the app , if yes didn't you realize that the device id has changed, because in my case , I have a device ID in V 3.0 other than V 2.2.

When I did provide you with device id of my android , did you find it the same in your devices table in V 3.0 ?? if yes, then I prefer to wait for Evgene reply concerning the problem with upgrading from V 2.2 to 2.3 or 3.0.


Push Notification alert not working since update

Posted: Fri Nov 27, 2015 9:17 pm
by Vinny B

Hello I have over 1000 devices registered so I didn't notice. But I did notice since I pushed the update to Android already I had over 100 new devices added in one day which is way more then usual. So there probably same users..


Push Notification alert not working since update

Posted: Fri Nov 27, 2015 9:22 pm
by Voltaire

As said before will wait for the support reply and will get back to you. Have a nice weekend .


Push Notification alert not working since update

Posted: Mon Nov 30, 2015 11:39 am
by Evgene Karachevtsev

Hello Voltaire,

Unfortunately working with push has changed a little bit in this plugin. You should remove prePushNotification.setApplicationIconBadgeNumber(0, function() {});/pre from device ready event and add prepush.setApplicationIconBadgeNumber(function() {}, function() {}, 0);/pre to push initialize handler.
Also please note that you should use codedata.message/code to call message in push notification handler.


Push Notification alert not working since update

Posted: Mon Nov 30, 2015 11:44 am
by Voltaire

Thanks a lot for your reply, will try it later today and test v 3.0, will get back with a reply.


Push Notification alert not working since update

Posted: Mon Nov 30, 2015 11:50 am
by Evgene Karachevtsev

Also we would like to pay your attention to the fact that this plugin uses another signature: https://github.com/phonegap/phonegap-...


Push Notification alert not working since update

Posted: Mon Nov 30, 2015 8:54 pm
by Voltaire

Hello Evgene,

Thanks a lot for your support and help, I did modify what you proposed and it is working like a charm on android, but when building ipa as production , am testing it on my iphone, I get a blank screen when launching the app and nothing happens, do I have to modify the .plist file so that the app will run , register itself and get the main screen ?