Search code examples
iosapple-push-notificationsaws-pinpoint

Send push notifications from one Pinpoint project to multiple iOS apps


I am having two iOS apps managed with the same backend. Can I use the same Pinpoint project to send push notifications to both apps?

There are two ways to configure notifications on Pinpoint:

  • AuthKey
  • Certificate

If I use the certificate, it will only send notifications to the app corresponding to this certification. There is no way to add the other certificate.

The AuthKey is one for all apps, but we have to set a bundle ID when we configure it on Pinpoint. Will it be able to send notifications to the other app?


Solution

  • I don't think this is possible.

    To setup push notifications you have to generate a push notification certificate which is individual to each iOS app and as far as I'm aware this is compulsory to setup push notifications. So regardless if you use AuthKey you would still need both APNS certificates.

    You can see more detail in the Local and Remote Notification Programming Guide https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/APNSOverview.html#//apple_ref/doc/uid/TP40008194-CH8-SW1