Get device token after registered on safari

Comments

3 comments

  • Avatar
    Ivan Dedov

    Hi,

    You can try to add the following code:

    Pushwoosh.push(function(api) { $.post('/url/for/save/token', { pushToken: api.pushToken }); });

    Please note, however, that for targeting purposes you'll need some way to associate particular user with particular token as well.

  • Avatar
    Juanfra Magrini

    Perfect! Thanks so much.

    Juanfra,

  • Avatar
    Nikolai Polkhovskiy

    Juanfra,

    I am glad my colleague helped you with the resolution of the issue.

    Please don't hesitate to contact us at help@pushwoosh.com in the future, we are always here to help!

Please sign in to leave a comment.