This is a migrated thread and some comments may be shown as answers.

Apple notification service connection couldn't be established due to invalid key/certificate.

3 Answers 81 Views
Apple iOS
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Brian
Top achievements
Rank 1
Brian asked on 11 Nov 2015, 05:21 PM

HI All

Push notifications: I have tried to follow the guide here :http://docs.telerik.com/platform/backend-services/javascript/push-notifications/push-getting-started#ios-prerequisites

I have an managed to get the app on my iPhone

I have created the backend service, and My iphone is detected. All is fine so far untill I get the error: "Apple notification service connection couldn't be established due to invalid key/certificate." - when I try to do a browser push.

I have exported a p12 file from my app project and used that as development certificate and enabled IOS push notiifications. Can someone point me to where and how I should generate the right solutio? The p12 - do I need to get that from apples site? I am also on windows so an apple key chain isn't really availble. I must admit I can't make any sense out of the apples certificate circus and can't find any good guides to help me. Above guide provides no help regarding how to get the certificates.

I hope there is a kind spirit out there who have been where I am now and knows how to point me in the right direction.

Kind regards
Brian

 

3 Answers, 1 is accepted

Sort by
0
Brian
Top achievements
Rank 1
answered on 11 Nov 2015, 07:35 PM

Trying this guide: http://www.telerik.com/blogs/let's-get-push-notifications-working-in-phonegap-and-ios

 I will post if it works :)

0
Brian
Top achievements
Rank 1
answered on 12 Nov 2015, 07:54 AM

The guide was very helpfull. It didn't work straight off since the guide is older (I guess) but that guide combined with:

This:

http://www.telerik.com/forums/device-shown-as-not-active

And this:

http://docs.telerik.com/platform/backend-services/javascript/push-notifications/push-getting-started

And using the everlive JS reference to:

https://bs-static.cdn.telerik.com/1.5.7/everlive.all.min.js

 Now I manage to do a"hello world" notifcation to my app. can start developing. Hopefully moving to production will be less painful, and I hope this can help someone else.

 /Brian

0
Anton Dobrev
Telerik team
answered on 16 Nov 2015, 11:17 AM
Hello Brian,

Thank you for taking the time and posting the solution for others to use and giving us a few leads about what needs improvement in the docs. We are glad to hear that you can now continue developing your app with Telerik Platform.

Let us know should you have further questions or suggestions.

Regards,
Anton Dobrev
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Apple iOS
Asked by
Brian
Top achievements
Rank 1
Answers by
Brian
Top achievements
Rank 1
Anton Dobrev
Telerik team
Share this question
or