I am trying to implement PUSH notification in my Hybrid Application. I followed the procedures as specified in the link below.
TELERIK PUSH NOTIFICATION TUTORIAL
I have production certificate and corresponding APNS Certificate. Along with this i have the app manager push notification certificate. So the 2 APNS are mapped to my production certificate. I am able to register my devices for the push notification and can view them in the devices section. But when i try to send the push notification i get the following error.
Apple notification service connection couldn't be established due to invalid key/certificate.
The push notification for the Telerik App Manager Works fine and i am having issue with the push notification to my App. I tried recreating the certificates and still having issue. The app that i am trying to create is an enterprise app.
Can anyone suggest a solution to this problem....
After so much debugging and test runs i got a solution for this. The tutorial in Telerik Doc does not specify which certificate is to be uploaded in the back end.
In the Telerik backend we need to upload the APNS p12 certificate and not the apps p12 certificate.
Hope this helps some who encounters the same scenario.
Related
I have a newb question. I am a little confused with push notifications.
I am working with push notifications between iOS and a PC app. Apparently the PC needs one of the certs or something in order to send push notifications. I remember setting up several things in developer.apple.com. Like bundle id, provisioning profile, and cert. which do I need on the PC side to send push notifications to the iOS device?
Firstly you need to generate PEM file to use it in server side :-
here
Secondly prepare your server :-
from here
I am trying to implement the push notifications to my application that is currently on the store.
The old applications are working perfectly and receiving push normally with the same code on both server and app sides(OFF the sandbox).
However, when I am trying to create a production push certificate for my new application, I noticed that the push SSL certificate has changed and it seems that the development and production can now be received under 1 certificate.
However when I send the created certificate to my server side and try to send push, I am not being able to receive any one on my device and we can't figure out why! (push are sent and received successfully my APNS Pusher application)
Note that notifications are working normally when creating a developer certificate and my app is in the development mode.
Any help to receive push on production mode? what modifications did Apple Change recently and what are the required steps that should I implement to my Server/App to make it work?
PushSharp version on my server: 2.2.1
I got the same issue. By upgrading pushsharp library to 4.0.10 I fixed the issue.
I have a feeling this could be a super newbie question, but here goes.
I have an iOS app that uses push notification.
I am wondering if I can use the same push certificate (the p12 file) for building different apps. It would be nice to just use one push certificate and not have to go through all those tedious setups every time i build a new side project app.
Unfortunately no, you need to create a Push Certificate for each app you make if you are planning to have push notifications in your app.
The reason for this is because each APNS certificate is tied to a specific application so that only that certificate is verified by Apple to connect to Apple Push Notification Services to send notifications to that specific app.
Here is a simple guide on how to create a push notification certificate.
http://quickblox.com/developers/How_to_create_APNS_certificates
I have a application uploaded on App store that doesn't use PUSH notification as of now.
I want to enable PUSH notifications in the application and push that as a part of App upgrade in the store. I went through a POC for PUSH notification and it states to create SSL certificate and a provisioning profile and use them for development.
Here is the tutorial that i refered http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
I wanted to clarify if i can enable PUSH notifications in existing application without revoking the old certificate and will it affect my application in anyway? I maybe a bit confused here on the ssl certificates and app certificates.
Any help will be appreciated...
You can Enable APNS without Affecting App store Application.
Its Same step for Making APNS SSl Creation.
You Need to Upload App with New Version after Making APNS enabled Application.
You can edit and Use Old Provisioning profile for App Upgrade.
Referencer Link:
Please Check this Reference for Making SSL and APNS setup.
Easy APNS
Now i am developing an application , in that application i want to enable Apple Push Notification service.I followed step by step these two tutorials "http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1" ,"http://mobiforge.com/developing/story/programming-apple-push-notification-services" but still now i didn't get device token.I created developer mode SSL Certificate and .p12 file and provisioning profile.
I run into my device it shows the applications in Setting Notifications List.But Callback methods not call.
Please any one guide me