anelezeravla
Posts: 0
Joined: Tue Oct 01, 2013 12:00 pm

Change on pushNotificationDeviceID variable

Hello,
Apparently the way pushNotificationDeviceID variable works has changed since we started working on our project.

Originally, pushNotificationDeviceID variable returned a string that looked like 359966057237910;83b3a2e99c099ef2

However, now it returns something similar to:

null;83b3a2e99c099ef2

This change causes that our notification system will never work for new devices.

What has changed? How can we solve this? This is quite urgent for us, due to to the advanced state of our project.

Thank you very much

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Change on pushNotificationDeviceID variable

Hello,

Please take a look at this reply:
https://getsatisfaction.com/apperyio/...

anelezeravla
Posts: 0
Joined: Tue Oct 01, 2013 12:00 pm

Change on pushNotificationDeviceID variable

Hello, Igor
That question is also ours. Back then, the variable returned the entire value (we were experiencing some trouble with unregistering), this is a different issue. The problem now is that pushNotificationDeviceID is not returning the complete value.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Change on pushNotificationDeviceID variable

Could you please tell us the steps how can we reproduce this?

vcalero
Posts: 0
Joined: Wed Nov 13, 2013 12:20 pm

Change on pushNotificationDeviceID variable

We have got next code in device ready event:

code
setTimeout(function(){
alert(localStorage.getItem('pushNotificationDeviceID'));
}, 1);
/code

this code now show null;83b3a2e99c099ef2 a few weeks a go showed 359966057237910;83b3a2e99c099ef2

Thanks!

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Change on pushNotificationDeviceID variable

Hi -

On what device (OS version) are you testing?
Can you share this app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a we will test it.

anelezeravla
Posts: 0
Joined: Tue Oct 01, 2013 12:00 pm

Change on pushNotificationDeviceID variable

It happens on every device we have tested (android 4.0.0, android 4.1.1, android 2.3.6, etc).

The app is already shared with Appery support team, we'll email you with the name.

Thanks!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Change on pushNotificationDeviceID variable

Hello! You return variable from localStorage, how did you save it there? Please check this post and let us know if it helps https://getsatisfaction.com/apperyio/...

vcalero
Posts: 0
Joined: Wed Nov 13, 2013 12:20 pm

Change on pushNotificationDeviceID variable

Hello Maryna,

It's weird... my localStorage.getItem('pushNotificationDeviceID') it's

null;83b3a2e99c099ef2

but the push notification are working fine!

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Change on pushNotificationDeviceID variable

Hello! There is nothing to worry about. It's a regular device id.

Return to “Issues”