andi
Posts: 0
Joined: Sat May 25, 2013 9:32 am

Push Device Register A or I for Android or IOS

What is the best way to detect the Type for the push device token (A for Android or I for IOS)

andi
Posts: 0
Joined: Sat May 25, 2013 9:32 am

Push Device Register A or I for Android or IOS

... and wich token should i use for register a device?

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

Push Device Register A or I for Android or IOS

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')

Return to “Issues”