Push Device Register A or I for Android or IOS
Posted: Wed Mar 18, 2015 4:34 pm
What is the best way to detect the Type for the push device token (A for Android or I for IOS)
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
What is the best way to detect the Type for the push device token (A for Android or I for IOS)
... and wich token should i use for register a device?
Hello Andi,
Type can be sorted with "where" parameter, example
http://gyazo.com/5c986e871dae322adfbd... - I
http://gyazo.com/18c17d77aca946518bb2... - A
Token stored in the local storage variable, you can retrieve it by next line:
localStorage.getItem('pushNotificationToken')