certificate for push notification of passbook - ios

What is procedure and how to create certificate for push notification of passbook?
Using sandbox and they work for push notification( php-apns), but not work for passbook(using push token).
so please help for correct way to send push notification of passbook and how to create certificate.

You need to generate a Pass Type ID and a certificate in the Apple Developer portal (requires a paid membership). You then connect to APNS using this certificate.
You also need to use the production APNS endpoint and port - there is no sandbox for passes.

Related

application push certificat was expired, i don't have access to certificat

my compagny buy a application from another account, recently certificate push expired and push doesn't work anymore on version on the store, when i access to apple developper i can't find certificat linked to the current application
i think the certificates is keepen on the original account witch publish the application
we cannot have access to old account
what options we have to update certificat ?
we had to create new certificat an push a new version on the store inevitably ?
thank you for your answers
I have found answer on the apple documentation
https://help.apple.com/itunes-connect/developer/#/deved688524f
Associated client SSL certificates for push notifications aren’t transferred. If the app uses Apple Push Notifications service (APNs), the recipient needs to create a client SSL certificate using the recipient’s developer account to reenable it.
Hope it will helps someone

Cannot send push notifications iOS using APN Auth Key

I attempting to send a push notification to my react native project. When sending to single device (provided FCM Token), it thrown an error
Invalid APNs certificate. Check the certificate in Settings.
So my assumption is the notification message is even not yet sent to APN, which my device obviously will not gonna receive anything
Please help
edit
I already uploaded my APN Authentication Key. Firebase docs says that I need to use either APN Authentication Key or APN Certificates
Revoking and re-uploading the key worked for me.
You are trying to push notification with no APNs Certification assign.
Please check the link below to generate or create the certificate to allow firebase send push notification in iOS.
https://firebase.google.com/docs/cloud-messaging/ios/certs
Here are the React-Native plugin and instruction for FCM (Firebase Cloud Messaging)
https://github.com/evollu/react-native-fcm
Hope it could help you.

iOS: APN auth Key for free developer account

Do we need to enroll in the Apple Developer Program ($99) to get the APN auth key and certificate? I needed it to learn FireBase Cloud Messaging which asks for the APN certificate/auth-key to be uploaded. This is how my developer account looks like.
Also, is there any other way I can generate a token for sending messages to FCM
To configure Firebase for Push Notifications you need APNs certificate.
To unlock push notifications capability you need to enroll into the Apple Developer program (after that you will get access to Certificates, IDs & Profiles section of your developer account).
PS: AppCoda: Implementing Push Notifications on iOS with Firebase

What APNS Certificate should I use

My company has commissioned the development of an application to one of its suppliers and they have published using their developer to account, this application must receive push notifications.
The company is doing a web service that will send a notification when this is invoked, We're using PushSharp and we need a certificate for sending notifications.
Now, my question is: The provider must give me a certificate or we can use one from our developer account (The company has one).?
Thanks in advance

Implement an MDM server

I'm trying to implement a server side solution to remotely control permissions in and iOS device, on demand.
From what I've read it is possible using the MDM protocol and MDM push notifications, which allow my server to remotely change restrictions in an iOS device, for instance, or even lock the device, on demand.
I know that the iOS device must install an MDM configuration profile to be able to be remotely managed. I also know that the server must have an APNS certificate with MDM permissions.
My question is: do I have to be an MDM vendor and/or join the Apple Developer Enterprise Program in order to generate the APNS certificate with MDM permissions ?
Thanks in advance.
Yes, you need to have a company developer account registered with a DUNS number before you can be accepted into the MDM program.
You need to have Apple Developer Enterprise Program if you want implement MDM server by yourself. There is no need of Developer enterprise program to generate APNS certificate. You can generate APNS certificate from any apple id.
I don't believe you have to do anything to write your own personal MDM server except register for and receive an APNS certificate and follow the protocols.
If you want to sell your server and have it authorized by Apple, then you need to register obviously. I would certainly not buy one which wasn't.
You need an APNS (Apple Push Notification Service) certificate in order to connect to the APNS Servers to have your MDM server work. You use the certificate to validate who you are before you are allowed to send Push Notification messages. This requires an Apple Id.
Your MDM server also needs to be running on an TLS secured server and you use that certificate to sign the MDM profile you install on a device which you want to manage.
Yes, you will need Apple Developer Enterprise Account. Only Apple Account will not work. Contact Apple Support and ask them to provide you MDM Vendor rights.
In order to send MDM commands you will require Push Certificate Signed by MDM Vendor certificate.
This MDM Vendor tutorial will help you.

Resources