iOS device token not working?

Answered

Comments

7 comments

  • Avatar
    Max Konev

    There should be no "?" symbols. Are you sure you copied the token correctly?

  • Avatar
    Chris

    Hi Shader, I put the ? characters in there, just in case it's bad practice to make these ids public.

    To reiterate, the supplied device token works for my android phone, it does not for my ios phone.

    Ta -Chris

  • Avatar
    Chris

    Just in case anyone else is having this issue.

    It seems that building for iOS8 is the issue. I redownloaded XCode 5.1.1 and build the app for iOS 6.1 and the device token started working as expected again.

  • Avatar
    Max Konev

    That's actually should not happen. The thing I would try is to uninstall the app manually (not from XCode) and then reinstall through XCode.

  • Avatar
    Chris

    Hi Shader, yup, tried that, even tried recreating a new Cordova app from scratch and still had issues.

  • Avatar
    Max Konev

    Is it working now fine? Otherwise please provide API call so I can check.

  • Avatar
    Chris

    Yes, the solution above worked for me and the supplied device token works via an API call.

Please sign in to leave a comment.