Hi, I´m trying to activate push notifications on IOS, I followed these steps Tutorial. But when I try to upload my PEM file in the game manager dashboard: Settings>Push Notifications> IOS Settings, I get a "Invalid parameter: Name Reason: An application with the same name but different properties already exists" error, so I tried using the Admin API call to setup notifications on IOS Link , but my API call results are always:
"code": 400, "status": "BadRequest", "error": "PushServiceError", "errorCode": 1095, "errorMessage": "End of list found where not expected", "CallBackTimeMS": 540
I assumed that in the API call, the "credential" parameter is the private key of the PEM file (?) (The ---BEGIN - END PRIVATE KEY---- chunk of code in my PEM file, I tried with and without the headers Begin-End). I don´t know what the error means.
In the first link (the tutorial) I used the generator to craft the Json for the API call, but the output is always:
Could not locate Private Key!
I copied the contents of my PEM file like it says in the page: "For iOS (APNS or APNS_SANDBOX), copy the complete contents of your PEM file below.", the result is always the same.
Maybe you can help me with guide on how to get the parameters of the PEM file or how a PEM file should look and what I need to make it work?
Thanks for the help!