Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set a correct apns-topic value based on a push type #101

Merged
merged 5 commits into from
Apr 4, 2020
Merged

Set a correct apns-topic value based on a push type #101

merged 5 commits into from
Apr 4, 2020

Conversation

chimit
Copy link
Contributor

@chimit chimit commented Mar 23, 2020

This PR addresses this issue #78 (comment)

Based on the APNS documentation we should use different apns-topic headers for different push types. Usually just by adding various suffixes to the bundle ID. Without these changes voip, complication and fileprovider don't work.

@coveralls
Copy link

coveralls commented Mar 23, 2020

Coverage Status

Coverage increased (+2.08%) to 82.267% when pulling 38505d4 on chimit:master into 9852990 on edamov:master.

@chimit
Copy link
Contributor Author

chimit commented Mar 23, 2020

I'm not sure, should we put a new generateApnsTopic() method into some trait or define a parent class for auth providers to avoid code duplication? Please, review and decide.

src/AuthProvider/Token.php Show resolved Hide resolved
@edamov edamov merged commit 207f38f into edamov:master Apr 4, 2020
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.

3 participants