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

Add complication push type #128

Merged

Conversation

LukasCZ
Copy link
Contributor

@LukasCZ LukasCZ commented Apr 8, 2022

When working on my watch app and implementing support for using push notifications to update my watch face complications, I found out that APNSwift is missing the complication push type (which is necessary for these kind of notifications).

Since APNSwiftConnection.PushType enum is already backed by String, and its raw value is used when encoding the request, I found that simply adding a new case to that enum was enough to make it work.

Thank you so much for creating APNSwift, it's super useful!

@kylebrowning kylebrowning merged commit efaa933 into swift-server-community:master Apr 10, 2022
kylebrowning pushed a commit that referenced this pull request May 10, 2023
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.

2 participants