API to upload APNs credentials
3
votes
Sparky
shared this idea
-
Miguel Queiroz commented
Please we need this!
We manage apps under projects and need to automate CI/CD.We can already create the app, and setup everything but that part is missing.
I inspected how you do it in Firebase Console.
I could see they do the upload of the certificate .p8 file with this "internal API"
https://mobilesdk-pa.clients6.google.com/v1/projects/[project_id]/clients/ios:[ios_bundle_id]:setApnsAuthKey?key=[firebase console token key??]
the payload is:
{"keyId":"[Certificate .p8 ID]","privateKey":"[Certificate content]"}But I could not find a way to have the right token with the service account to call that endpoint.