From e8b8d76616d142efb3ade96d566e504fd59888df Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Sat, 7 Jun 2025 12:46:06 -0400 Subject: [PATCH] added more service endpoints for vapid endpoints --- apprise/plugins/vapid/__init__.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/apprise/plugins/vapid/__init__.py b/apprise/plugins/vapid/__init__.py index 0c761478..83d30695 100644 --- a/apprise/plugins/vapid/__init__.py +++ b/apprise/plugins/vapid/__init__.py @@ -50,6 +50,10 @@ class VapidPushMode: FIREFOX = 'firefox' EDGE = 'edge' OPERA = 'opera' + APPLE = 'apple' + SAMSUNG = 'samsung' + BRAVE = 'brave' + GENERIC = 'generic' VAPID_API_LOOKUP = { @@ -61,6 +65,14 @@ VAPID_API_LOOKUP = { 'https://fcm.googleapis.com/fcm/send', # Edge uses FCM too VapidPushMode.OPERA: 'https://fcm.googleapis.com/fcm/send', # Opera is Chromium-based + VapidPushMode.APPLE: + 'https://web.push.apple.com', # Apple Web Push base endpoint + VapidPushMode.BRAVE: + 'https://fcm.googleapis.com/fcm/send', + VapidPushMode.SAMSUNG: + 'https://fcm.googleapis.com/fcm/send', + VapidPushMode.GENERIC: + 'https://fcm.googleapis.com/fcm/send', } VAPID_PUSH_MODES = ( @@ -68,6 +80,7 @@ VAPID_PUSH_MODES = ( VapidPushMode.FIREFOX, VapidPushMode.EDGE, VapidPushMode.OPERA, + VapidPushMode.APPLE, )