PyFCM
PyFCM copied to clipboard
Default priority should be normal, not high
Current behaviour
-
low_priority=True: FCM is called withnormalpriority -
low_prority=False: FCM is called withhighpriority - The default is
highpriority
Expected behaviour
- Priority should default to
normal - The client should be able to adjust to
highpriority -
lowpriority doesn't exist on the FCM API
Rationale
- High priority has quotas to prevent abuse (
QuotaExceededError: Topic quota exceeded.) & (requests.exceptions.HTTPError: 429 Client Error: Too Many Requests - It's confusing that
lowmeansnormalandnot lowmeanshigh; when you might assume thatnot lowmeans normal.
Thanks for a great library :) We use it A LOT