Page 1 of 1

Push Notification Token

Posted: Tue May 07, 2013 2:09 am
by Christine Stringfield

Hello,

I'm a little confused on the Push Notification set up. I'm reviewing this tutorial: http://docs.appery.io/tutorials/sendi...

It explains to use Javascript to get the deviceID, but where does the token come from?


Push Notification Token

Posted: Tue May 07, 2013 3:42 am
by Igor

Hello.

Token it's "Session-Token".


Push Notification Token

Posted: Tue May 07, 2013 3:51 am
by Igor

I'll update about how to get a token.


Push Notification Token

Posted: Tue May 07, 2013 4:32 am
by Christine Stringfield

Thank you!


Push Notification Token

Posted: Tue May 07, 2013 2:37 pm
by Sergey Kozyr

Token is stored in localStorage variable "pushNotificationToken". It's created automatically on device after "Push initialize" event is dispatched.


Push Notification Token

Posted: Tue May 07, 2013 3:40 pm
by Christine Stringfield

OK. That wasn't clear from the instructions. Thank you for clarifying.


Push Notification Token

Posted: Tue Apr 15, 2014 12:42 pm
by Quarenta

Hello. I created an app and followed the steps for retrieving the device ID and it worked. But i'm not sucessful on retrieving the device token, is returns "undefined".
First i attached to the "Device Ready" event and later to the "Push Initialize" and nothing happened.

Any help?


Push Notification Token

Posted: Tue Apr 15, 2014 7:10 pm
by Maryna Brodina

Hello!

Let's continue here https://getsatisfaction.com/apperyio/...


Push Notification Token

Posted: Fri Jun 20, 2014 6:48 am
by Himanshu

if you will install the app in the device..It will work..
With Appery.IO tester, it will not work.


Push Notification Token

Posted: Fri Jun 20, 2014 6:54 am
by Evgene Karachevtsev

Hello Himanshu,

Sorry, not sure I understand, do you need Support Team to help