google / gcm

Google Cloud Messaging - client libraries and sample implementations
https://developers.google.com/cloud-messaging
Apache License 2.0
822 stars 515 forks source link

Uploading new p12 for GCM #250

Open stevetauber opened 7 years ago

stevetauber commented 7 years ago

Hi,

My certs have expired and I've regenerated them. Now I'm going to upload the new .p12 files and I see the page has what appears to be an angular error so I can't upload them.

As a note, I do NOT want to switch to firebase.

url: https://developers.google.com/mobile/add?platform=ios

screen shot 2017-07-11 at 13 48 29
rilsikane commented 7 years ago

i have same problem T^T

rajeshdbs commented 7 years ago

I stuck with the same issue. Is any other alternatives ?

tufancolak commented 7 years ago

Same here.

stevetauber commented 7 years ago

I was able to get this working by signing up for firebase and making the changes there. I did not change any of my code (except the newly generated key) and still use the old GCM url, but it works.

Moghul commented 7 years ago

While that is an option, it is not one that the OP wants to use.

stevetauber commented 7 years ago

@Moghul I'm OP so......... yeah... :D

Moghul commented 7 years ago

Oh. I should have paid a bit more attention. Glad you found a workaround :)

alexgit2k commented 7 years ago

I contacted Google about this issue: They are aware of it, working on it, but don't have any timeline for when it will be fixed. They suggest the workaround via Firebase.

I have compiled here the steps to update the certificate via Firebase:

  1. Go to https://console.firebase.google.com/project/
  2. Select "Import Google Project" and import GCM-project
  3. Select imported Project
  4. Click gear icon and select "Project Settings"
  5. Select the "Cloud Messaging" tab
  6. At "APNs Certificates" click on "Update" of the expired certificate and upload the new certificate