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

Extend APNS API #10

Merged
merged 2 commits into from
Nov 9, 2018
Merged

Extend APNS API #10

merged 2 commits into from
Nov 9, 2018

Conversation

aleklisi
Copy link
Contributor

@aleklisi aleklisi commented Nov 8, 2018

This PR extends APNS API to add options that were found in https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification
but were not listed in
https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/PayloadKeyReference.html#//apple_ref/doc/uid/TP40008194-CH17-SW1
some options were already implemented so it just fixes reaming.

Added changes:

  1. for aps dictionary, sound option was extended, now it can be a dictionary too (previously could be String only); sound dictionary builder added

  2. for aps dictionary, mutable-content option was added

  3. add_subtitle_loc_args spec is fixed

@coveralls
Copy link

Pull Request Test Coverage Report for Build 42

  • 4 of 4 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 96.903%

Totals Coverage Status
Change from base Build 41: 0.02%
Covered Lines: 532
Relevant Lines: 549

💛 - Coveralls

Copy link
Contributor

@michalwski michalwski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I think it'd be beneficial to describe in short what was added in the PR desc.

@michalwski michalwski merged commit baf650d into master Nov 9, 2018
@michalwski michalwski deleted the extend-APNS-API branch November 9, 2018 09:53
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.

None yet

3 participants