parse-community / parse-server-push-adapter

A push notification adapter for Parse Server
https://parseplatform.org
MIT License
85 stars 100 forks source link

Add support for apns-priority key #128

Closed funkenstrahlen closed 4 years ago

funkenstrahlen commented 5 years ago

This is already supported by node-apn framework but not yet exposed to be usable through this push adapter. It is now possible to set the priority for each notification.

When not set, node-apn uses a priority of 5 as default. This is the minimum value required for background notifications to be able to launch the app in background.

codecov[bot] commented 5 years ago

Codecov Report

Merging #128 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #128   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           5      5           
  Lines         259    262    +3     
=====================================
+ Hits          259    262    +3
Impacted Files Coverage Δ
src/APNS.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2e84e8a...4ca61cc. Read the comment docs.

parse-github-assistant[bot] commented 2 years ago

The label type:feature cannot be used here.