Skip to content

Conversation

cbaker6
Copy link

@cbaker6 cbaker6 commented Feb 10, 2025

Allows the priority of 10 to be sent to the APN server. Previously, the library omitted the value of 10 because the APN server uses this value as default. For broadcast notifications, priority is required as a header field, or an error will be thrown.

The original default behavior from a developer using the library is still the same for standard notifications. If the dev doesn't specify a priority, the default is still 10.

Closes: #172

Copy link

parse-github-assistant bot commented Feb 10, 2025

🚀 Thanks for opening this pull request!

Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.79%. Comparing base (4eb3686) to head (7f96453).
Report is 28 commits behind head on master.

Additional details and impacted files
@@ Coverage Diff @@ ## master #173 +/- ## ========================================== + Coverage 93.53% 95.79% +2.25%  ========================================== Files 23 23 Lines 588 832 +244 ========================================== + Hits 550 797 +247  + Misses 38 35 -3 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@cbaker6 cbaker6 marked this pull request as draft February 10, 2025 18:42
@cbaker6 cbaker6 marked this pull request as ready for review February 11, 2025 01:12
@cbaker6
Copy link
Author

cbaker6 commented Feb 11, 2025

@mtrezza this is ready for review

@mtrezza mtrezza changed the title fix: Allow sending the priority of 10 for notifications fix: Does not allow sending the priority of 10 for notifications Feb 11, 2025
@mtrezza mtrezza merged commit 689ce37 into parse-community:master Feb 11, 2025
8 checks passed
parseplatformorg pushed a commit that referenced this pull request Feb 11, 2025
## [6.4.3](6.4.2...6.4.3) (2025-02-11) ### Bug Fixes * Does not allow sending the priority of 10 for notifications ([#173](#173)) ([689ce37](689ce37))
@parseplatformorg
Copy link

🎉 This change has been released in version 6.4.3

@cbaker6 cbaker6 deleted the fixPriority branch February 11, 2025 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants