If I revok iOS distribution will stop APNS on live app? - ios

If I revoke iOS distribution certificate then will it stop push notification on live app?
Should I have to regenerate new APNS certificate from developer.apple.com?

Expired or Revoked Certificates :
Apple Push Notification Service Certificate
You can no longer send push notifications to your app.
Source : Apple

Related

Cant get push notification from firebase after TestFlight

I have an app that support push notification through firebase.
when I was testing the app on dev it was working and I got push notification, now after I download the app from testFlight the app is working but I can't get push notification. in the developer page of apple
developer.apple.com
in app IDs and then to my app the push notification tab is enable but then when I press on it I see I have certification only for Development SSL Certificate but not in Production SSL Certificate.
When I try to send notification through the console of firebase im getting faild with the error:
invalid team id key id and apns auth key combination
Do you think the problem is there? How can I solve it?
solution:
my issue was that I didn't have certification for production in firebase and iTunes connect in push notification I had only for develop
Thank you
Testflight is a production enviroment, thats why you can't send notifications, you need to change, to
Messaging.messaging().setAPNSToken(deviceToken, type: MessagingAPNSTokenType.sandbox) <---- "MessagingAPNSTokenType.prod"
and upload the production certificate to firebase

App Store and Ad Hoc production certificate is enough for Push Notification Distribution?

I am going to upload my first iOS App.I am Integrating Firebase Push Notification in my iOS App.
Which certificate i need for Distribution?

 App Store and Ad Hoc production certificate is only enough for App distribution? or I need both App Store and Ad Hoc ,Apple Push Notification service SSL (Sandbox & Production) or only Apple Push Notification service SSL (Sandbox & Production)?
hope you understand my problem.Thanks In advance
This is the only certificate you require for distribution:

iOS enterprise APNs certificate expiry

We have a production APNs certificate due to expire shortly for an enterprise app.
Is it just a case of creating a new production APNs certificate for our app ID and replacing the certificate that's due to expire with our push notifications provider?
Will I need to re bundle and re distribute our enterprise app or will the existing version continue to work with the new APNs certificate?
According to these links:
https://developer.apple.com/support/certificates/
https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html
If a certificate expired or revoked, it doesn’t affect apps that you’ve submitted to the store, just effect ability to update them.
For APNs certificates, if it expired, you can no longer send notification to you app, it only effect the ability to your push server communicate with Apple's APNs service. Just update the APNs certificates and update your push server's push certificate, the push service will work again.

Publishing a Push Notification Application

I'm publishing an application with Push Notification on a new developer account.
When creating the Certificate do we need the App Store and Ad Hoc? Or do we only need the Apple Push Notification service SSL only?
App Store and Ad Hoc Sign your iOS app for submission to the App Store
or for Ad Hoc distribution.
Apple Push Notification service SSL
(Production) Establish connectivity between your notification server
and the Apple Push Notification service production environment. A
separate certificate is required for each app you distribute.
Thanks!
You need both of the certificates.
AppStore and Adhoc certificate is for the apps to be signed under your
account.
Without this, you cant create provisioning profiles and submit the apps.
Apple Push Notification service SSL (Production) is created for each app to communicate with APNS server.
Without this your certificate your server cant communicate with the APNS service and any push you sent will not reach the user device.

what is apple iOS develop certificate and APNs Development iOS

In Apple development certificate page there are 2 types of certificate:
iOS development
APNs Development iOS
What is the difference?
iOS development : this type of signing certificate called a development certificate to identify yourself,
APNs Development iOS:Establish connectivity between your notification server and the Apple Push Notification service sandbox environment.
iOS development certificate is that provide you development authority (code signing) that provide your application to testing environment for specific devices.
while
APNS certificate allow the "Apple Push notification service " using this certificate. you can able to use "Apple Push notification service " for more detail of APNS refer this link http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1 this may help to understand about APNs.
iOS development certificate is used for testing and deburing purpose.
APNS certificate This is used for the push notification service. APNS communicate remote server to apple server for push notifications.

Resources