• Resolved central4all

    (@central4allgmailcom)


    It is a few days now that it stopped sending notifications and i cant find why, can you assist me ?

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

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

    (@murali-indiacitys)

    Could you please activate the plugin i will check , at present it looks like you deactivated the plugin by renaming the plugin folder starting with 1 (i have attached screenshot. Please activate the plugin check in console messages or i will check it once you activate the plugin, at present plugin folder is renamed , please change it back it original name

    Thread Starter central4all

    (@central4allgmailcom)

    It was renamed, i will check again and i will let you know

    Plugin Author Murali

    (@murali-indiacitys)

    Service worker is not registered. I have checked in my website it is working. I have also released new version today 1.77 version, with following new feature and changes. please download latest version, clear all caches,

    1.77 VERSION DEC 02 2023

    New feature: New custom prompt styles introduced to display prompt in horizontal pattern, vertical pattern to subscribe push notifications.
    Customization of prompt is available in admin settings of custom prompt. Bell icon prompt will work with or without custom prompt.
    Enable custom prompt style to display custom prompt and enable/disable Bell icon prompt to display/hide Bell icon format in admin settings.
    Bug fix: Resolved problems related to Friendship request/accept notifications.
    Bug fix: Fixed problems related to Notifications for logged in only users.

    please click on save button to save the changes again (it is not needed but in case if you changed hosting folder/hosting.please click on save button to save all changes)

    Thread Starter central4all

    (@central4allgmailcom)

    i did but nothing changed

    Plugin Author Murali

    (@murali-indiacitys)

    I have checked your site again, I think another plugin “Independent Analytics – Google Analytics Alternative for WordPress” is taking more time in ajax response due to this your hosting is timed out connections and all further ajax request done by this plugin PNFPB also getting timed out. I saw following console message related to iwap plugin

    POST https://seeme.baby/wp-json/iawp/search net::ERR_CONNECTION_CLOSED

    Please deactivate the plugin Independent Analytics – Google Analytics Alternative for WordPress.

    Also in PWA tab, please make sure turn on Exclude all Urls from PWA offline cache – PWA CACHE is not needed when you use another cache plugin. So TURN ON this option to exclude all urls from PNFPB PWA cache.

    After doing above, please clear all cache, refresh your page.

    • This reply was modified 12 months ago by Murali.
    Thread Starter central4all

    (@central4allgmailcom)

    Everything is done , PWA CACHE exclussion resolve me some other problem but not the push notification, still not getting any

    Plugin Author Murali

    (@murali-indiacitys)

    It looks like some other problem in your hosting which is creating network error, until you resolve net::ERR_CONNECTION_CLOSED errors for other plugins/theme, ajax calls will fail.

    Below is screenshot when i tried to login to your site, it shows network error, console messages shows network error all other plugins also. Generally it is related to hosting or firewall configuration. Unless you resolve network errors in your hosting ajax calls will not work. Did you changed anything in hosting setup for your website? it creates same error all other plugins also. Deactivate all plugins and activate plugin one by one to check the errors in your site. Since it is general hosting related issues, if you need more help please contact me at my email id [email protected] support email id. Eventhough it is not related to plugin i will try to provide more debug details. Please also verify all my below analysis and mentioned details,

    I have also checked in firefox browser, it shows same network related errors,

    Please make sure push settings are like below 2 screenshots. Make sure you use firebase configuration with required details and onesignal option needs to be deactivated when you use firebase configuration. Please use legacy firebase api settings (disable httpv1 version as it is optional a tpresent) as shown below.

    If it still does not work then it will be related to hosting setup, because network error is coming for all other plugins in your website whenever it uses ajax calls. Since it is out of scope for me , not related to plugin, i will try to provide more help if you contact me in support email id [email protected]

    Thread Starter central4all

    (@central4allgmailcom)

    Thank you for your great support, i asked my support to check the problem , if it is not fixed i will email you. Thank you again

    Hi!

    I think I finally got it working – turns out that the firebase database isn’t optional after all!

    That said, now all my notifications are titled ‘Undefined’. Can you please assist?

    demoapp.yourbest-life.com (you’ll need to create an account – notification prompts are for logged in users.

    Plugin Author Murali

    (@murali-indiacitys)

    In your site, there is another plugin which is creating service worker file daftplug-instantify which interfere with this PNFPB plugin service worker file pnfpb_icpush_pwa_sw.js and PNFPB plugin service worker file not registered in your site. I have attached below screenshot from my site showing PNFPB service worker file registered, right click on your site(in your browser) go to application tab it will show service worker file registered

    From my site (PNFPB demo site) below screenshot, pnfpb_icpush_pwa_sw.js is registered which contains code to receive push notification in correct format. But in your site, another plugin daftplug-instantify creates another service worker file for pwa. Either one service worker file can be registered. This pNFPB plugin has PWA facility so please deactivate daftplug-instantify and refresh cache and site, try it.

    In your site, with different service worker, Please deactivate daftplug-instantify and it will take pNFPB service worker file, it contains code to receive push notification in correct format. Other plugin daftplug-instantify does not contain code to receive push notifications as it is not related push notifications, push notifications are sent by firebase to your site but due to service worker problem it is not received in correct format without title and content

    Before using push notification, please understand about service worker concept and how it related to push notification and PWA. I have mentioned several times in the forum that at a time only one service worker file can be active. Last week this thread owner started this topic but i found problem is related to their hosting server setup which is not related to plugin, before starting and posting in the forum, it will be better to understand about push notification and analyze your site for other problems and then post it in the forum. If thread is started like “stopped working” then it will mislead all other users as if plugin is not working.

    In my site, i did not enter database url , it is working it is optional

    Thread Starter central4all

    (@central4allgmailcom)

    @murali-indiacitys thank you for helping even if it wasnot problem of your plugin. My server is fixed and works fine now.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Stopped sending push notifications’ is closed to new replies.