• Hello,

    I am encountering an issue while trying to set up the Push Notification for Post and BuddyPress plugin with Firebase Cloud Messaging API (V1).
    I have followed the installation instructions carefully, including downloading the plugin and uploading the JSON file, and filling in the required fields (except Firebase Server Key). However, upon launching the site, I am not prompted with a permission request or service worker in the console.

    Even when I force the acceptance of notifications, the test notifications remain unsuccessful.
    Could you please assist me in resolving this issue? Any guidance or troubleshooting steps would be greatly appreciated.

    Thank you.

    • This topic was modified 1 year, 11 months ago by enjindev.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Murali

    (@murali-indiacitys)

    Since this plugin supports both legacy and latest version of firebase, plugin logic (earlier coded ) requires server key for both eventhough it is not needed for httpv1 in validation before sending push notification. It will be resolved this week until i release new version, please use old legacy server key in Firebase server key or any other characters and this key will not be used in httpv1 push notification, httpv1 notification will work without this server key (but it requires that to be filled, this problem will be resolved in upcoming release). Once you fill that field with old server key/legacy server key, then service worker will be registered and you will be able to send push notification using httpv1. Logic which is checking whether server field is empty or not will be removed for httpv1 notification in upcoming release. Sorry for confusion.

    Thread Starter enjindev

    (@enjindev)

    Hi,

    Thanks for the quick answer!

    After filling in the fields, there’s still nothing; no service workers active at all in the console. I have tested other WP installations and it’s working.

    I thought maybe some extension conflicts were the issue. So I dug deeper, and it seems the WordPress installation was using jQuery Migrate with jQuery Version 1.12.4-wp! I changed it to the default version, and now it’s working!

    — I have service workers and notification permission is being asked !

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Issue with Push Notification (no service worker no permission asked)’ is closed to new replies.