Start a new topic

Registering a new iOS device

Hi there.


I've managed to sign up users on Android to Kinvey. I send the device_token, platform and arn (which is usually blank), and it works perfectly.


However, when I try on iOS, push notifications aren't being sent through.


I looked in the _messaging tab for the device that signed up using iOS, and it gave me:


{

  "pushTokens": [

    {

      "token": "device_token",

      "platform": "iOS",

      "arn": "arn:aws:sns:us-east-1:853461911189:endpoint/APNS_SANDBOX/kid_S1TvyoIn_development/c2ea4c7f-5db8-341f-8ce7-b6656dabfa82"

    }

  ]

}


So what I really want to know is, what is the last part of the arn? I know the first part is the .p12 certificate, and 2nd to last is the development environment. But what is c2ea4c7f-5db8-341f-8ce7-b6656dabfa82? 


Oli,


When you send push notifications from the console, do you see any error?


Also, can you explain in detail about the following:

"The only way I can get it to work is if I pre-define a user and then use that."


Thanks,

Pranav

Kinvey Support

I figures out that it's the unique ID of the device, so now the sign up user sends the unique ID of the iOS device. However, it's still not working. The only way I can get it to work is if I pre-define a user and then use that. 

Login or Signup to post a comment