Hey guys,

 

Is it possible to export my GCM and APNS device tokens ?

I'm migrating to another platform and I'd like to know if I'm able to have this ids on the newer, so users don't need to login again to register a new token!

 

Thanks

Didn't find what you were looking for?

New post

Comments

4 comments

  • Hello,

    Yes, this information can be found in the push_address field returned from the channels listing API, which is documented here:

    http://docs.urbanairship.com/api/ua.html#channel-listing

    Please let me know if there is any more I can help with.

    0
  • First of all, thanks for the quick reply !

    One more question, if the field 'named_user_id' is empty, how can I know from which user does the push_address belong to ?

     

    Thanks

    0
  • Hi, no problem. Happy to help. :)

    If there is no named user or alias set, you may be able to map the device_id field (which is the Urban Airship channel id) to other ids in your system if you had been storing those on your end. Otherwise it may not be possible.

    0
  • Ok, thank you very much !

     

    0

Please sign in to leave a comment.