Skip to content

I don't receive push notifications

Olga Koroleva edited this page Jun 26, 2023 · 6 revisions
  • 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
Clone this wiki locally