This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
[doc] Explain usage of the top level priority
in GCM notifications
#1155
Labels
As partially discussed in #1145 and in some other issues, it seems like background notifications need to have the top-level
priority
field maxed out ({"priority": "high"}
) in the payload for GCM to be able to consistently wake the service up and trigger the necessary code. This affects iOS more than Android, according to the number of issues created relating that field with iOS malfunctioning.Documentation on that field is located subjectively here and objectively here.
A new section named GCM priority on background notifications is to be created as child of both sections related to this on the docs (android and ios).
However,
there is already mention of a use case of the inner
priority
field in the docs, but with a different sintax and possible values [-2,-1,0,1,2] vs ["normal","high"] (and most probably different behaviour). So, should we remove the current one and document only the GCM version? Should we keep both, and if yes, how do we differ from one another in behaviour?The text was updated successfully, but these errors were encountered: