Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between APNs Distribution iOS and Apple Push Services?

Tags:

enter image description here

As the picture shows, when I want to create the Production SSL Certificate,the normal type should be [APNs Distribution iOS], but the Certificate i've created was [Apple Push Services], what's wrong with it?

like image 873
Leon_Lu Avatar asked Dec 28 '15 08:12

Leon_Lu


People also ask

What does Apple Push Notification Service do?

Unlike iOS users, Android users are automatically opted in to receive push notifications, this leads to new Android users being more likely to be opted-in to notifications. On the other hand, Android users are quick to opt-out of notifications that they don't want to receive.

Does Apple need push service?

Without configuring and registering with an operating system push notification service like Apple Push Notifications Service, your app would be unable to send notifications to iOS users. The Apple Push Notifications Certificate is a necessary element in the process of sending notifications to your users through APNs.

How do I use Apple push notifications for APN?

Use the location push type for notifications that request a user's location. If you set this push type, the apns-topic header field must use your app's bundle ID with . location-query appended to the end. For more information, see Creating a Location Push Service Extension.

Why do I need an Apple push certificate?

To use advanced management with Apple iOS devices, you need an Apple push certificate. The certificate establishes a trusted connection between iOS devices and your organization's domain.


1 Answers

The "Apple Development iOS Push Services" and "Apple Production iOS Push Services" are the old names for the certificate when you needed to have separate certificates for the two environments.

Now, you only need the one certificate for the new HTTP/2 API, so they've changed the name of the certificate to something more general - "Apple Push Services".

There's some good info on it here: https://matthiaswessendorf.wordpress.com/2015/06/17/wwdc-2015-apple-push-goes-http2-for-apns/

Apple's official documentation here: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ApplePushService.html

WWDC 2015 "What's New in Notifications" video here: https://developer.apple.com/videos/play/wwdc2015-720/

You therefore shouldn't now be able to create certificates for the two separate environments. One of the major benefits of this is that the certificate that works for "debug" builds of your app (mainly those installed directly onto the device via cable) will also work for builds that you send to your testers, and also for production builds.

like image 137
siburb Avatar answered Sep 19 '22 23:09

siburb