ibm-bluemix-mobile-services / bms-samples-swift-hellopush

Example app for Bluemix iOS push notification
Apache License 2.0
5 stars 6 forks source link

IBM Push Notificatio on iOS 10.0 above #19

Closed archiedalisay closed 7 years ago

archiedalisay commented 7 years ago

Registration for Push Notification on iOS was successfuly registered, then once I sent a Push notification, doesn't have received any notification and try again to send push... No device registered.

AnanthaKrish commented 7 years ago

@archiedalisay Hi, Seems like your certificate is invalid. Create a valid certificate and p12 file.

Follow this Doc - https://console.bluemix.net/docs/services/mobilepush/push_step_1.html#push_step_1_ios

Let me know if you need further assistance .

Thanks.

archiedalisay commented 7 years ago

img_0126 1 @AnanthaKrish I got still the same issue. Once it registered and try to push notif..no notification received and for the 2nd time to push notif...no device register img_0125 1

AnanthaKrish commented 7 years ago

@archiedalisay the problem is with your p12 file that you uploaded to the Bluemix push service. Points to remember ,

  1. If you are trying to install app from Xcode (Developer mode) use the sandbox certificate and select the sandbox field in Push service configuration tab.

  2. If you are trying to install the app through .ipa (Distribution or ad hoc profile) use the production field in Push service configuration tab.

  3. To exporting the p12 from the Keychain right click on the certificate (only certificate . No need of private key) and export as p12.

archiedalisay commented 7 years ago

@AnanthaKrish Many thanks...it works now!