web-push-libs / pywebpush

Python Webpush Data encryption library
Mozilla Public License 2.0
303 stars 52 forks source link

feat: Add WNS comment, drop GCM/FCM direct support #163

Open jrconlin opened 3 months ago

jrconlin commented 3 months ago

Description

~Microsoft has introduced extra header requirements for incoming push messages. I kind of want to avoid adding a lot of system specific smarts to pywebpush, mostly because that's an endless road of feature creep. The preferred way to handle this would be to include the extra, call specific headers in the webpush(..., headers=dict(...)) argument.~

Some users have reported issues with the non-standard WebPush headers that Microsoft requires. I've added guidance for them in the README. In addition, Google has long announced the end of support for FCM tokens. Might as well drop them now.

Issue(s)

Closes #162