简体   繁体   中英

Push Notification as update for iOS

I have an app on the AppStore and I wish to add push notification feature as an upadate. Now if the user updates the app, i would like to notify him if wants to have push notifications from the app.

How do I achieve it?

Thanks

Enable push notifications for your app bundle identifier in developer.apple.com

and create distribution SSL certificates for push notifications Steps to create APNS certificates

Once the app is updated to AppStore,the users with updated version gets a alert message to enable the Push notification permission defuatly

Take a look to apple developer documentation, they have a guide to do it step by step. Here is the link.

https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringPushNotifications/ConfiguringPushNotifications.html

When sending push notifications be aware of sandbox (when connected to XCode) and production mode (Ad-Hoc or app published).

I hope is useful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM