Page 1 of 1

Please let me have the device token for push notification !!!

Posted: Fri Jun 06, 2014 11:02 am
by Scott Do

Here are my setting for push.

Image

Image

Image

Image

I have tried several time by the way your tutorials say, but I always failed with the message, "undefined" in the device token area of the device collection DB.

Please helpe me~~

Thanks in advance for your help..

From Scott in Korea


Please let me have the device token for push notification !!!

Posted: Fri Jun 06, 2014 1:05 pm
by Kateryna Grynko

Hi Scott,

http://devcenter.appery.io/tutorials/...
Do you mean this tutorial? A device is registered automatically.

Or do you use RegisterDevice_service?
http://devcenter.appery.io/tutorials/...


Please let me have the device token for push notification !!!

Posted: Sat Jun 07, 2014 2:11 am
by Scott Do

http://devcenter.appery.io/tutorials/...
Do you mean this tutorial? A device is registered automatically.

Yes. I used that tutorial and I know that device is registered automatically. However,
I got the device ID, but I did not device token automatically. Always the message,"undefined" in the sesstion of device token in my device DB.

Or do you use RegisterDevice_service?
http://devcenter.appery.io/tutorials/...

I did not try this one. Do I have to use this one ?

Please let me know what I have to do.
Thanks in advnace for your help.

Scott


Please let me have the device token for push notification !!!

Posted: Sat Jun 07, 2014 2:12 am
by Scott Do

Dear Katya Yakusheva,

Thank you very much for your reply.
Hare are the answers to your questioms.

http://devcenter.appery.io/tutorials/...
Do you mean this tutorial? A device is registered automatically.

Yes. I used that tutorial and I know that device is registered automatically. However,
I got the device ID, but I did not device token automatically. Always the message,"undefined" in the sesstion of device token in my device DB.

Or do you use RegisterDevice_service?
http://devcenter.appery.io/tutorials/...

I did not try this one. Do I have to use this one ?

Please let me know what I have to do.
Thanks in advnace for your help.

Scott


Please let me have the device token for push notification !!!

Posted: Mon Jun 09, 2014 7:00 am
by Kateryna Grynko

Hi Scott,

What is your device and Android version?


Please let me have the device token for push notification !!!

Posted: Wed Jun 11, 2014 11:08 pm
by Scott Do

My device is LG-F180K and Android is 4.1.2.

I hope to hear from you soon.

Thanks.


Please let me have the device token for push notification !!!

Posted: Thu Jun 12, 2014 2:50 pm
by Evgene Karachevtsev

Hello Scott,

Could you run this code on Push initialize event:

codesetTimeout(function() {
alert(localStorage.getItem('pushNotificationToken'));
}, 1); /code