No, it is not possible to have two different web push notification providers active on the same website at the same time.
This is a technical limitation of the Web Push protocol that browsers use. Here's why:
- Single Subscription per Website: A browser can only maintain one active push notification subscription for a single website (domain).
- Unique Security Keys: Each push provider uses a unique Application Server Key (VAPID key) to authorize sending notifications.
- Key Conflict: When a user is already subscribed through one provider, their browser has registered that provider's key. Attempting to subscribe them through a second provider will fail because the browser cannot register a new subscription with a different key for the same website. This conflict will prevent the second service from working correctly.
To migrate to Pushwoosh from another provider, you must first completely remove the existing provider's integration, including their JavaScript code and service worker file, before implementing the Pushwoosh SDK.
Comments
0 comments
Please sign in to leave a comment.