uniqush / uniqush-push

Uniqush is a free and open source software system which provides a unified push service for server side notification to apps on mobile devices.
http://uniqush.org
Apache License 2.0
1.54k stars 201 forks source link

Support priority for APNs, GCM, FCM #164

Open TysonAndre opened 7 years ago

TysonAndre commented 7 years ago

https://firebase.google.com/docs/cloud-messaging/http-server-ref

priority Optional, string
Sets the priority of the message. Valid values are "normal" and "high." On iOS, these correspond to APNs priorities 5 and 10.

Might as well call them "normal" and "high" instead of numbers.

uniqush.priority or priority could be used as query param names in /push calls.

AndreiHarasemiuc commented 6 years ago

Hi @TysonAndre. Thank you very much for the latest updates to support FCM!

Would it be too much of a hassle to add "priority" as well? It is important for Android and I could really use it on a project I'm on right now.