Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Push Notification alert not working since update

Voltaire,

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

Voltaire
Posts: 0
Joined: Thu Apr 09, 2015 8:48 pm

Push Notification alert not working since update

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... )

Vinny B
Posts: 0
Joined: Fri Aug 22, 2014 2:22 pm

Push Notification alert not working since update

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

Vinny

Voltaire
Posts: 0
Joined: Thu Apr 09, 2015 8:48 pm

Push Notification alert not working since update

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.

Vinny B
Posts: 0
Joined: Fri Aug 22, 2014 2:22 pm

Push Notification alert not working since update

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..

Voltaire
Posts: 0
Joined: Thu Apr 09, 2015 8:48 pm

Push Notification alert not working since update

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Push Notification alert not working since update

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.

Voltaire
Posts: 0
Joined: Thu Apr 09, 2015 8:48 pm

Push Notification alert not working since update

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Push Notification alert not working since update

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

Voltaire
Posts: 0
Joined: Thu Apr 09, 2015 8:48 pm

Push Notification alert not working since update

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 ?

Return to “Issues”