I don't receive push notifications - infobip/mobile-messaging-sdk-ios GitHub Wiki
- Make sure you are not testing on iOS Simulator, but on a real device, however in Xcode versions starting 14 it's possible to test push notifications on iOS 16 simulator on sandbox environment, check Xcode 14 release notes for more details
- Make sure your iOS application is set up for proper APNS(Apple Push Notification Service) environment:
- if signed with Development Provisioning Profile - is for Sandbox APNS environment
- if signed with AdHoc/App Store Provisioning profile - is for Production APNS environment
How to choose APNS environment? On Infobip portal (http://portal.infobip.com), you are able to create two different kinds of Push Application: Sandbox and Production, the type corresponds to APNS environment used for sending push notifications. Re-install the iOS application if the mismatch has already happened.
Push notification routing
Infobip Push Portal
[Sandbox Application] [Production Application]
with Sandbox Certificate only Production & Sandbox Certificate
or Production & Sandbox Certificate |
| |
| |
| |
\/ APNS \/
[Sandbox Environment] [Production Environment]
| |
| |
| |
\/ iOS Devices \/
[iOS Device] [iOS Device]
signed with signed with
Development Provisioning Profile Distribution Provisioning Profile