• Resolved cvrle77

    (@cvrle77)


    Since I’ve been using some other plugin (Perfecty Push Notifications) which is now abandoned, a lot of my visitors are already subscribed to my notifications in that plugin.

    That creates an issue, because I can’t import them, and I can’t reset notification subscription in their browser. They already have service worker in their browser service-worker-loader.js.php

    Expected popup which should be asking users to subscribe doesn’t show up, unless they manually reset their subscription in their browser (which no one does).

    Is there a way to handle this issue in some manner? We need ‘Remove old Service Workers’ from users browser, like Perfecty Push plugin does. https://docs.perfecty.org/wp/conflict-resolution/
    To somehow unregister other push services.

    Could it be possible to send notifications to users, and once they are on the website, to update or reset their subscription, so they can subscribe with new service?

    Or anything that would help in this manner?

    I hope you understand what is my concern – how to move from old plugin to your plugin, but to try to maximize transfer of my subscribers in any way possible.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Murali

    (@murali-indiacitys)

    Perfecty push notification is based on web push (self hosted). This plugin is designed using Firebase as push notification provider. Difference between web push and Firebase is as follows,

    1. Web push creates subscription from browser which consists of endpoint, vapid key for every subscription there is no intermediate token
    2. In Firebase, once user subscribed from browser, this plugin will communicate with Firebase to create intermediate token for every subscription and token will be stored in Firebase as well as in this plugin’s PNFPB database table. Notifications will be sent only to tokens. In latest httpv1 Firebase it is based on topics. Firebase will create vapidkey from the while creating the project which consists of web app, android/ios app credentials which will be used by this plugin to send notifications.
    3. Inorder To migrate from perfecty push notifications,once this plugin is installed and activated after deactivating perfecty, when user visits your site from their browser, if browser is already subscribed this plugin will communicate with firebase to create token, it will be stored in backend database (this plugin database). In order to setup this plugin, 1. create Firebase account 2. Create Firebase project 3. Create web app 4. Use those credentials to setup this plugin as instructed in Firebase configuration mentioned in admin area/plugin installation details .
    4. If you need more details, please contact support id mentioned in admin area or in github library https://github.com/muraliwebworld/push-notification-plugin-for-wordpress-websites. It will be better to create test version of your site first by cloning data from your live site or with some limited users from your live site to test this. Migration will not require any special coding as Firebase creates token for every subscribed request using Firebase api.
Viewing 1 replies (of 1 total)
  • The topic ‘Importing’ is closed to new replies.