What is the best way to detect the Type for the push device token (A for Android or I for IOS)
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')