简体   繁体   中英

iOS app Push Notification not showing in Beta Tester user's device

We built an iOS app using Swift 4.x in Xcode 10.1. The app get push notification in my development iPhone 6 very well from other devices.

We published the app to TestFlight for beta testers. They install the app from TestFlight and get prompt to allow Notification. All went well. When they send me a message, I get Push Notification without any problem in my iPhone 6. But when I send them, no notification pops up on their screen.

Is it something related to code signing? Or what else I should check for.

在此处输入图片说明

Your suggestion is highly appreciated.

You need to replace the Push certificate on your Push API server. APNS Distribution certificate is to be used in your case.

for that, you need to export that certificates from keychain as a .p12 Or .pem file and add it to server API( API which you are using to send push notification). and you will need to set push notification mode in server API to release mode to get push notification in testflight build.

you can export certificates of push by following steps in this link: https://medium.com/@ankushaggarwal/generate-apns-certificate-for-ios-push-notifications-85e4a917d522

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