How to enable multiple IOS certificates for push notifications

If u have separate app for two different users like separate app for doctor and separate app for patient. How can I can ios p12 file for both. because right now it is enabling only one certificate. and notifications are goining one way.

Hello @rehannadeem, to enable push notifications for a different application, you’ll need to upload it separately in a different console. Please let us know if you have any questions or if we’ve misunderstood your use case.

console can’t be different because users belong to same console they have common communities to follow. Example is very clear we have two type of user one is doctor and one is patient. Both belongs to same product but doctor’s app is different and consumer app is different. So when they patient chat with doctor. How we can enable push both way if only one certificate is allowed?

If that’s the case, since they’re under the same community and application on our end, one certificate should be sufficient. With a single push setup on our side, we support both directions of push notifications/events. However, whether it’s used as one-way or two-way depends on the configuration on your application side.

bundle identifier of doctor ios app is com.doctor.app and for patient is com.patient.app. now both app’s has different certificates. Is it clear now?

lets schedule call with some technical guy.

Hello @rehannadeem thank you for the explanation. If that’s the case, you’ll need to use key-based authentication instead of certificates.

Our console supports push notification keys, and a single notification key (generated from the Apple Developer Console) can be used across multiple apps.

please share documentation for it.

kindly share documentation link or schedule a technical call. I didn’t see such feature in my console.

Hello @rehannadeem, you only need to generate a push notification key through your Apple Developer portal.

For more details on setting up push notifications using token-based authentication (instead of certificates), please refer to the official Apple Developer documentation:
Establishing a token-based connection to APNs | Apple Developer Documentation.

@SocialPlus_Support what todo with they key? where we have to submit in to your console?

Hello @rehannadeem, you can select the ‘p8 authentication key’ and fill in the detail on the console, please refer the sample screenshot below: