I am new to PushNotifications . I have been facing an issue while enabling the push notification for existing AppID .
Long time ago I had created the Certificate, Provisioning profile for an app . At that time I didn't enabled the push notifications . To enable the push notifications I have logged into the Apple Developer Account and in the AppIds I have clicked the check for enabling the push notification . Then configure buttons have been enabled . If I click on the configure in the Production it is asking me to create the certificate . But I have already had a Certificate . I can't delete existing Certificate because most of my apps using the existing certificate . So please help me to enable the push notification .
Incase If I delete the certificate will it effect the already installed apps on the devices ? Please let me know if my question not clear.
First of all its totally ok to revoke your development or release certificates and make new ones without affecting your apps currently released in the app store. This can be done at any time.
However for setting up push notifications you are setting up yet more certificates. These certificates dont actually get bundled with your app but are for use by your push notification system. You create a certificate for development and a certificate for release.
In the future if you need to revoke these push certificates you can do so and create new ones without affecting the app in the store. You will need to upload the new push certificates to your push notification system before you can send push notifications to your app in the store but you wont need to do a new release of the app.
For sending Push notifications you will have to create an SSL certificate. That is a different thing and not related to the "usual" certificates which you have to create and maintain anyway.
You will have to refresh the ssl cert. on a yearly basis.
This certificate is not even linked to the app. It is required on the server that acutally sends the push notifications to Apple's service.
My advise: Just follow the instructions and do not get confused with any of the other certificates. And of course there is no need to delete an existing app-certificate.
Related
Your Apple Push Services Certificate will no longer be valid in 30
days. To generate a new certificate, sign in and visit Certificates,
Identifiers & Profiles.
Certificate: Apple Push Services
Identifier: com.bpl.Beam
Team ID: JF2FFVM7JG
To learn more about expired certificates, visit the certificates
support page."
So, I renewed apple push notification for my app (https://imgur.com/cJe40ZO, https://imgur.com/a/GMj7HuQ).
(My app occasionally gave notification of received image without receiving/displaying the image which I am debugging, hence.)
Do I need to do iOS side update (code or app?) for Apple push to work?
(I also created a certificate and key text file following ).
Please help/guide with step-by-step suggestions.
Thanks
No, you just need to put the new certificates in your backend that is in charge of send the notifications to the APNS. The app will continue to work receiving the notifications without any change needed.
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
I have two apps in App Store. When I published the app, push notifications were active but currently, however they are now not active as I am unable to receive notifications in apps which are downloaded from stores. So I thought of revoking the certificates and then make new one for both of the apps.
So I had a question in mind if this will have any effect on provisioning profile or not ? Do I have to download the profile again?
Do I have to resubmit the app or simply putting .pem file on server will do the act?.
Need some guidacne. Thanks.
You can revoke the old certificates and make new ones. That will be fine with this. And make sure you check the Push Notification Configurations for them. Resubmitting the app wont be needed as everything regarding Push notifications is handled through certificates and your profile.
For safety and remembrance, download the newly made certificates onto your machine and stote them safe.
Other than the new changes in certifications and push notification confidurations, this will not have much major change on your profile.
Hope this helps.
I'm fairly new and this was the first time i submitted an app.
So i have an app thats already in the app store. I had push notifications set up and it work when i tested it for the ad hoc distribution using the production certificate.
I did another provisioning profile for the app store and submitted it. Strangely after the app got approved some provisioning profiles disappeared . After being in there for awhile they came back but the push notification setting was turned off even the production ssl certificate for push notif was gone.
Now, Push notifications are not working.
Tried generating another ssl cert and the whole keychain exporting stuffs but it still doesnt work.
I don't know if the app, submitted has the profile with the push notification settings on.
Is it possible to add push notifications to that app? If not what is my best solution here?
No if the App submitted has not been signed with a Push Notifications Profile , then you pretty much can't do any thing about it, You may have to resubmit an entire new Version with a different Provisioning Profile with Push Notifications enabled,
Did you check the server you are trying to connect to when you send the push notifications?
Remember that there are more than 1 server :
ssl://gateway.push.apple.com:2195
ssl://gateway.sandbox.push.apple.com:2195
ssl://feedback.push.apple.com:2196
ssl://feedback.sandbox.push.apple.com:2196
It seems that some migration script went wrong on Apple's server. Your best bet would be to contact Apple support and explain your problem to them. May be they can do something for you.
Even after creating a new push notification certificate you would not be able to enable the push notification for the app already present on app store. Since the certificate is regenerated, you would need to update your profiles too and then use them to prepare a new version for app store.
I think the problem was that the devices that i tried had the app built on them from xcode. Because it worked for other devices that i never used xcode with. After removing all the related provision profile from the device itself, located in the settings menu of the phone, reinstall the app from the store then it started to work.