Skip to content

Conversation

@hritankarcode
Copy link

This PR adds support for .p8 APNS push certificates alongside the existing .p12 flow in the AddApnsPushConfigurationData class.

Problem: The current SDK only accepts .p12 files, but Sendbird’s API endpoint supports both .p12 and .p8.

Solution:

Added new fields (apns_p8, apns_key_id, apns_team_id, apns_bundle_id) for .p8 certificates.

Added validation to ensure only one certificate type (.p12 or .p8) is provided.

Maintain backward compatibility with existing .p12 workflows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant