Ok, so I tried to set up Push Notifications for iOS through Corona Cloud. Everything was going fine, until I had to upload the certificates. When I tied to do that, it gave me an error:
Dev certificate Only p12 format is allowed for development certificate.
However, according to this tutorial http://www.coronalabs.com/blog/2011/12/21/push-notifications-for-ios-in-corona-sdk/ the final certificate should be .pem
So could someone tell me what I am doing wrong, or should I be uploading something different?
Thanks!
rob
May 1, 2013, 3:20am
2
Open up Keychain Access.
Find your Push notification certificate and CTRL-click on it.
Choose the “Export “your certificate name”” from the popup window.
Give it a name in the “Save As” dialog that comes up. It will default to a .p12 file
Try that and see if it solves your problem.
nope that didn’t work. If I try to add the “ck.pem” file to keychain it gives me an error. And none of the other certificates (That I got from the provisioning portal) don’t have to option to Export them.
Hi,
That link is not related to Corona Cloud, as far as CC is concerned we require a .p12 format file.
Keychain Access
Right-click on “Apple Development IOS Push Services: ”
Select “Export…”
1. File Format: Personal Information Exchange (.p12)
2. Set Passphrase
3. You should have a .p12 file now
Give it a try and let me know.
Thanks
-Mohamed
Hi, so that worked, and I uploaded the certificates.
However, when I tried to test it, nothing poped up on my device
Hi,
Sorry silly question, but have you registered a device with CC for Push?
Thanks
-Mohamed
dingo
May 2, 2013, 3:28pm
8
Mohamed, will it be possible to unregister a device? So lets say, the user no longer wants to receive push notifications, he can unregister?
and sorry for hijacking the thread, but the question fits the topic.
rob
May 3, 2013, 1:52am
9
I’m not sure about Android, but on iOS the users get an entry in their Settings->Notifications area where they can turn on/off push notifications. So there really isn’t much of a need to un-register a device.
So any idea why it’s not working for me?
@Dingo , we will be adding a call to unregister a device soon.
@deleruapps , can you send PM me your game ID and device ID please.
Thanks
-Mohamed
Hi,
Looks like everything is configured fine on our end, did you update your provisional profile after creating the new certificate?
Thanks
-Mohamed
rob
May 1, 2013, 3:20am
14
Open up Keychain Access.
Find your Push notification certificate and CTRL-click on it.
Choose the “Export “your certificate name”” from the popup window.
Give it a name in the “Save As” dialog that comes up. It will default to a .p12 file
Try that and see if it solves your problem.
nope that didn’t work. If I try to add the “ck.pem” file to keychain it gives me an error. And none of the other certificates (That I got from the provisioning portal) don’t have to option to Export them.
Hi,
That link is not related to Corona Cloud, as far as CC is concerned we require a .p12 format file.
Keychain Access
Right-click on “Apple Development IOS Push Services: ”
Select “Export…”
1. File Format: Personal Information Exchange (.p12)
2. Set Passphrase
3. You should have a .p12 file now
Give it a try and let me know.
Thanks
-Mohamed
Hi, so that worked, and I uploaded the certificates.
However, when I tried to test it, nothing poped up on my device
Hi,
Sorry silly question, but have you registered a device with CC for Push?
Thanks
-Mohamed
dingo
May 2, 2013, 3:28pm
20
Mohamed, will it be possible to unregister a device? So lets say, the user no longer wants to receive push notifications, he can unregister?
and sorry for hijacking the thread, but the question fits the topic.