Release notes – PNFPB plugin – Push notification for post and BuddyPress

= 1.81 version Mar 15 2024 =
New feature: New admin settings field added for number of days to show custom prompt for push notification again for front end users who cancels push notification in custom prompt.
PWA New feature: New admin settings field added for number of days to show PWA custom prompt for push notification again for front end users who cancels push notification in PWA custom prompt.
Update: Removed please wait processing message while subscribing notification.
Update: Optimized subscription of push notifications from custom prompt/bell icons.
Bug fix: Fix problems related to browser check logic to be compatible with Elementor and other plugins
Bug fix: Fixed problems related to duplicate notification for my comments push notifications
Update: PWA cache will not be enabled automatically, unless exclude all urls in PWA settings field set to OFF manually.
Bug fix: Resolved problem related to threadid(private messages),click url fields for webview app push notification – friendship request,accepted,private messages.

= 1.80 version Mar 4 2024 =
Updated readme.txt. refer below change log for 1.79 changes.


= 1.79 version Mar 4 2024 =
New feature: Various Subscription options are included in custom prompt, bell icon while subscribing for push notification first time. Users will be able to select subscription options while subscribing for the first time from custom prompt/bell icon. From bell icon, front end users will be able to modify subscription options whenever it is needed. Subscription option can be turned on/off to include/exclude in custom prompt or in bell icon from admin settings.
Bug fix: Removed unwanted console messages in mobile webview javascripts.
New feature: Included [[group name]] place holder for group title, group content push notification.
New feature: If Buddypress followers plugin installed then notification can be sent only to followers for buddypress activities/group activities/comments.


= 1.78 version Feb 13 2024 =
Bug fix for webview mobile app: Fixed problems related to android/ios mobile app push notification subscription option update to database, saving front end subscription options in webview app.
Bug fix for Firebase httpv1 version: Fixed problem in admin settings on uploading service account json file to enable firebase httpv1 version api independent of other firebase settings.
Bug fix for BuddyBoss users: Updated logic to send notifications for activity comments only to liked users for particular activity.
Bug fix for BuddyBoss users: Updated logic in group forum activities to send notifications only for subscribed users for particular forum.
Bug fix for onesignal users: Updated logic to control onesignal push notifications based on admin options enabled for various push notifications in plugin admin page.
Update: Info message showing subscribe for push notifications in frontend push notification subscription control menu under profile->settings, when user is not subscribed for push notification.


= 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.


= 1.76 version November 16 2023 =
Bug fix: Resolved private message notifications for mobile app/webview app.
= 1.75 version November 12 2023 =
Compatible with WordPress 6.4
Bug fix: Resolved warning messages in sql query in one time push notifications list tab in admin settings related to orderby.
= 1.74 version 11 11 2023 =
Bug fix: Resolved problems related to webview mobile app notifications for ondemand/one time push notifications.
= 1.73 version 02 Nov 2023 =
New feature: New option in admin settings to send push notifications only for loggedin users for Firebase based notifications. If you enable this for httpv1 firebase notifications then all subscriptions needs to be subscribed again, for legacy firebase api, no need to resubscribe subscriptions.
New feature: New option adminsettings for onesignal based notifications to send push notifications only for loggedin users. It will send notifications based on id for every subscribed users.
Update: Shortcode button and frontend push notifications settings will appear based on admin settings to send push notifications only for loggedin users.
Bug fix: Fixed problem related to post and custom post type notifications related to metabox checkbox in new post/post edit page to validate based on edit page or in front end to send notifications accordingly. For front end related post it will work based on admin post enabled settings and for admin new/edit post page, it will work based on metabox checkbox enabled/disabled.
Bug fix: Fixed problem related to mycomments notification using Firebase httpv1 version.
Bug fix: Fixed problem on private messages notification for webview using Firebase httpv1 version.
Bug fix: Fixed problem on Firebase httpv1 notifications for webview.
Bug fix: Fixed problem related to onesignal on demand push notifications to work independent of Firebase settings in PNFPB admin settings. If you enable onesignal has push notification provider then ondemand push notification will work without filling firebase credentials independently using Onesignal credentials.
= 1.71 version 20 Oct 2023 =
Update: Allow push notification for post when meta box for notification is turned on irrespective of admin settings.
Bug fix: Fixed problems in Group push notification using Firebase httpv1 version.

For Shortcode [subscribe_PNFPB_push_notification]
Bug fix: Shortcode button text changes during subscribe/unsubscribe notification.
Update: In Shortcode – Loading spinner added while subscribing and unsubscribing notification.
Update: In Shortcode – Close button added in confirmation dialog.
Bug fix: Rectified problem related to wrongly displayed subscription option updated text for last checkbox option in shortcode. Updated code to display correct text for that option.
Update: Shortcode push notifications options will be displayed as per settings enabled in admin push settings for frontend users.
= 1.70 version – 8 Oct 2023 changes =
BuddyPress Mentions push notifications – one to one notification only to user mentioned in BuddyPress activity
Scheduling notifications changes to delete old data when it is reset/switched off.
Merged cron schedule notifications with action scheduler to schedule notifications in background.
Admin panel changes for scheduling notifications.
Links to action scheduler tab in admin panel to view list of scheduled notifications for BuddyPress activities/group activities/comments and for post, custom post types.
Scheduling notifications changes to start at entered time instead of immediate start.
Customise options for Frontend Custom prompt to subscribe/unsubscribe notifications are added in admin push settings panel to customise button text for custom prompt, customise display message text in custom prompt.
New meta box with checkbox added for every post/page to send or not to send push notifications while creating post.
Admin settings to enable BuddyPress comments notifications only for author of particular activity (comment notifications only for My post/My activities).
PWA install prompt shortcake will work independent of custom prompt of PWA.
PWA custom install prompt can be enabled/disabled for desktop/mobile/tablet/according to screen size. Various custom options added in PWA settings tab.
= 1.69 version 19 September 2023 changes =
Update: Plugin is compatible for mobile apps designed using WebtoNative with onesignal as push notification provider. Included webtonative script in this plugin to enable push notification for mobile apps using webtonative with onesignal.
Update: Shortcode[subscribe_PNFPB_push_notification] is updated to subscribe new push notification along with changing/updating various subscription options.
Push notification can be subscribed in following 3 ways,

  1. Direct browser default promptt with user interaction,
  2. By enabling custom prompt for push notification settings (from plugin admin settings),
  3. By using shortcode [subscribe_PNFPB_push_notification]. Texts in shortcode can be customized using plugin admin settings under button customization tab.
    Update: Language translation for all es6 javascripts are updated. Language translation will work on new es6 javascripts for push notification subscription.
    Bug fix: To fix problem for private messages/friendship request/accepted push notifications using onesignal in webview app created with Webtonative.
    Bug fix: To display warning message for permission not granted when PNFPB subscription shortcode is used in webview mobile app and not to display warning for desktop/web mobile view websites.
    = 1.68 version 13 September 2023 changes =
    New feature: Admin notification list tab – New submenu added to filter notification list, following are menu added,
    All – To show all ondemand/onetime/recurring notification list
    On demand – To show on demand notification list without schedule
    One time – To show one time/single schedule notification list
    Recurring – To show all recurring scheduled notification list
    Completed – To get all completed schedule notification list
    Draft – To get all draft notification list using duplicate action. These notifications can be scheduled/sent in future date/time.
    Pending – To get all pending recurring notification list scheduled for future date.
    Update: Admin one time Notification list status field updated with more relavent details with next scheduled date for recurring notification.
    Update: Admin one time Notification list duplicate action logic is updated to create draft with date and time fields.
    Update: While re-sending duplicated notification, it will use same draft id.
    Update: After deleting notification in one time notification, logic updated to delete action scheduler entries also.
    Bug fix: Shortcode to install PWA problem is resolved.
    Bug fix: On demand legacy push notification title problem resolved
    Update: Language related changes for hardcoded text.
    Bug fix: httpv1 firebase latest version notification logic updated for private messages/friendship request/accept.
    = 1.67 version 12 September 2023 changes =
    New feature: Admin notification list tab – New submenu added to filter notification list, following are menu added,
    All – To show all ondemand/onetime/recurring notification list
    On demand – To show on demand notification list without schedule
    One time – To show one time/single schedule notification list
    Recurring – To show all recurring scheduled notification list
    Completed – To get all completed schedule notification list
    Draft – To get all draft notification list using duplicate action. These notifications can be scheduled/sent in future date/time.
    Pending – To get all pending recurring notification list scheduled for future date.
    Update: Admin one time Notification list status field updated with more relavent details with next scheduled date for recurring notification.
    Update: Admin one time Notification list duplicate action logic is updated to create draft with date and time fields.
    Update: While re-sending duplicated notification, it will use same draft id.
    Update: After deleting notification in one time notification, logic updated to delete action scheduler entries also.
    Bug fix: Shortcode to install PWA problem is resolved.
    Bug fix: On demand legacy push notification title problem resolved
    Update: Language related changes for hardcoded text.
    Bug fix: httpv1 firebase latest version notification logic updated for private messages/friendship request/accept.
    = 1.66 version 29 August 2023 changes =
    Bug fix: To fix push notification problems related to multiple devices for same user id in friendship request, friendship accepted, private messages.
    = 1.66 version 29 August 2023 changes =
    Bug fix: To fix push notification problems related to multiple devices for same user id in friendship request, friendship accepted, private messages.
    = 1.65 version 27 August 2023 changes =
    Update: Modified custom prompt toggle between subscribe/unsubscribe notifications.
    Update: Security fix to secure Firebase credentials in ajax routines.
    Update: Automatic migration of subscription tokens according to latest version of Firebase api httpv1 to subscribe to relavant topics.
    New feature: Store subscription endpoint and subscription server key from browser pushsubscrition in database for future use, incase if user wants to migrate to other Push notification providers.
    = 1.64 version 20 August 2023 changes =
    New feature: Option to use latest version of Firebase API httpv1 for push notification. It requires service account json file to be uploaded. Instructions on how to get service account json from Firebase account is given in plugin admin area.
    New feature: If latest version of Firebase api httpv1 is enabled then push notification will be sent more securely using oauth token everytime generated using googleapi client using service account credential file uploaded in plugin admin area.
    New feature: Option to use onesignal as push notification provider instead of Firebase.
    New feature: Schedule One time push notification/On demand push notification with single/recurring schedule
    New feature: New tab to display all one time push notification which are previously sent with re-send option or to duplicate the notification to save as draft for future use.
    New feature: User avatar instead of push icon in activity push notifications.
    New feature: Custom prompt to subscribe/unsubscribe notification using a push notification icon. Admin user can update/change this icon and text according to their wish in plugin admin area.
    Bug fixes and security improvements.
    = 1.63 version Jun 11 2023 changes =
    Bug fix: Enqueue media problem resolved in plugin settings to attach images in Push notification admin settings area.

= 1.62 version Jun 10 2023 changes =
New feature: ICON facility for group push notification subscription/unsubscription. Custom icons for group push notification subscription/unsubscription can be uploaded in button customization tab.
Update: Included documentation on sample code to integrate IOS and Android mobile app push notifications with this plugin. Sample code is in github repository, refer admin settings area for more details.
Bug fix: Resolved problems related to intialization of messaging.gettoken to get tokens from firebase.
Bug fix: Enqueue media problem resolved in plugin settings to attach images in PWA, Push notification settings area.
Bug fix: Group notification subscribe/unsubscribe button problem resolved.
Bug fix: Corrected text domain in Frontend push notification subscription text to Translate correctly by translation plugin.
Update: Included documentation on PWA or PWA shortcode may not be compatible for IOS/IPAD browsers.
Update: Resolved problems on uploading icons due to enqueue media problem in admin settings area.
= 1.59 version Apr 10 2023 changes =
Bug fix (for webview mobile apps): Resolved push notification problem for webview mobile apps when frontend subscription option is null/empty.
Bug fix (for PWA): Resolved service worker cache problem in PWA app when exclude all url option is ON – To exclude all urls including offline urls.
Bug fix (for webview mobile apps API): Resolved problem in mobile app subscription token API to update default frontend subscription option when it receives empty value in frontend subscription option field in API.
= 1.58 version Mar-24-2023 changes =
New features: Push notification for BuddyPress group invite and Push notification when BuddyPress group details updated.
New features: Admin Push notifications when new user registered and when user submitted contact form (Contact form7 plugin).
New features: PNFPB settings admin bar menu and PNFPB plugin settings are moved to separate top level menu in WordPress Admin left sidebar.
Update: Following shortcodes will work in both push notification title and in push notification content according to respective push notification types.
[member name], [user name], [sender name], [friendship acceptor name], [friendship initiator name]
New feature – Added new javascript code to communicate with IOS app in SWIFT language code with WKWEBVIEW to get push subscription token and to send push notifications to IOS app (in SWIFT language).
Updated language related to map all strings to text level domain to support language translation.
Plugin settings menus are moved to top level admin menu below settings menu(in admin left sidebar menu)
Fixed PWA admin settings problems.
Compatiable upto WordPress 6.2 version.
= 1.57 version Feb-28-2023 changes =
New Feature: Schedule one time/on demand push notification to start at different date and time. It allows to schedule multiple notifications to start at different date and time
Bug fix: Fixed problems related to REST API POST parameter ‘subscriptionoptions’ and REST API POST parameter “userid” updation to notification database table.
Update: Front end subscription menu update confirmation will appear in bottom below submit button.
New feature: Added and updated New language translation PNFPB_TD POT file with required strings for translation.
Update: Added text domain to all text strings in PNFPB plugin
Update: Updated action scheduler tab to filter results based on PNFPB action scheduler tasks with screen option.
Update: New postMessage for webview to send current logged in userid to webview using postMessage. It can be received using “pnfpbuserid” webview JSinterface/Javascriptchannels in mobile app(Flutter/Java/Swift/Kotlin)
= 1.56 version Feb-12-2023 changes =
New feature: Added new frontend subscription menu to subscribe/unsubscribe notifications only for Comments on My Post / My BuddyPress activities. If this option is turned on then Comments on all activities will automatically turned off. Both are toggle options.
New feature: Added new REST API POST parameter “userid” to receive push notification subscription token along with userid from mobile apps in AES-CBC-256 encryption mode.
Bug fix: Resolved problems related to Frontend subscription menu to subscribe/unsubscribe various push notifications.
Bug fix: Resolved problem related to REST API receiving data from webview mobile apps for push notifications.
Bug fix: Resolved search pagination in device token list table in plugin admin settings under device token list tab.
Update: Added firebase support check in frontend subscription option logic to separate processing for website and for mobile apps using webview.
Update: Added webview browser check logic to detect for mobile app webview or website in group push notification subscription buttons in BuddyPress groups.
= 1.55 =
New feature: New REST API parameter ‘subscriptionoptions’ added to receive front end subscription options opted by webview Mobile app Front end users
Bug fix: Resolved paging issue in device token list
Update: Button to switch on/off Front end subscription menu under user profile settings in BuddyPress.
From 1.55 release onwards, switch on ‘Enable Frontend subscription menu’ option under Frontend settings tab to display Frontend subscription menu.
Bug fix: Show front end subscription options under user profile in BuddyPress according to admin settings
Update: Comment author name option in push notification title when comments for Post/custom post type are published.
New feature: Added below parameter to send Front end subscribed options to webview app using javascript interface/channel.
‘frontendsubscriptionOptions.postMessage(subscriptionoptions);’
In mobile app it can be received using frontendsubscriptionOptions javascriptchannel/javascriptinterface. After receiving this parameter, it can be sent as separate http POST parameter subscriptionoptions along with other parameters like subscription token to send it back to wordpress site using REST API in http POST to store in PNFPB plugin wp database table. In this way, webview mobile app users can control/opt-in/opt-out their push notifications using Front end push notificaiton menu under BuddyPress user profile – settings.
= 1.54 =
Bug fix: Resolved problem related to Comment author name incorrect in push notification title.
Update: Changes to plugin to make it compatible with other Firebase plugins like integrate-firebase. Changes to enqueue scripts from this plugin as last if more than one Firebase plugins are used.
Bug fix: Resolved problem related to Image url in group activities.
Bug fix: Resolved problem related to Cookie value check in group subscription update ajax routine.
Update: Added click url under data node in push notification payload for WebView on demand or one time push notification.
= 1.53 =
New Addition: Custom push notification subscribe prompt to allow or block push notification for WordPress website users.
New Addition: Push notification support for FireFox Android Browser using custom prompt
New Addition: Customize push notification subscription prompt in plugin settings area. Dialog text, button text, text color, background color of dialog box and position of dialog box shall be customized in admin settings of plugin. Refer Push notification settings tab.
Update: New design of custom install prompt for PWA install
Update: click action url link will be sent in payload under data for push notifications to mobile apps/mobile apps using webview. App shall parse payload under data to get url to load webview to appropriate clicked link in webview.
Removal: Popup type custom install PWA prompt removed instead use new design of custom install prompt for PWA install available under admin PWA settings.
New Addition: New Front end menu in user profile to opt for various push notification for frontend users. This menu will be available for BuddyPress users under user profile – settings – Push Notification Subscription.
Bug fix: Strip slashes while sending push notifications
Bug fix: Fixed problem related to total records display in device tokens list under plugin admin settings.
Bug fix: Removed action scheduler warning for delayed tasks
Bug fix: Fixed problem in webview push notification related to Enabling/disabling push notification subscription button for BuddyPress groups
New addition: Private messages push notification for the users who uses Better messages plugin
Update: Layout update for shortcode [subscribe_PNFPB_push_notification] to subscribe notifications for Frontend users.
New addition: Automatic scroll to appropriate comment after clicking from push notification for comments.
Update: New fields to DB table.
Bug fixes: Resolved errors while updating device ids under checkdeviceid routine and Resolved problem undefined variable userdomain in frontend subscription menu.
= 1.52 =
New Addition: Custom push notification subscribe prompt to allow or block push notification for WordPress website users.
New Addition: Push notification support for FireFox Android Browser using custom prompt
New Addition: Customize push notification subscription prompt in plugin settings area. Dialog text, button text, text color, background color of dialog box and position of dialog box shall be customized in admin settings of plugin. Refer Push notification settings tab.
Update: New design of custom install prompt for PWA install
Update: click action url link will be sent in payload under data for push notifications to mobile apps/mobile apps using webview. App shall parse payload under data to get url to load webview to appropriate clicked link in webview.
Removal: Popup type custom install PWA prompt removed instead use new design of custom install prompt for PWA install available under admin PWA settings.
New Addition: New Front end menu in user profile to opt for various push notification for frontend users. This menu will be available for BuddyPress users under user profile – settings – Push Notification Subscription.
Bug fix: Strip slashes while sending push notifications
Bug fix: Fixed problem related to total records display in device tokens list under plugin admin settings.
Bug fix: Removed action scheduler warning for delayed tasks
Bug fix: Fixed problem in webview push notification related to Enabling/disabling push notification subscription button for BuddyPress groups
New addition: Private messages push notification for the users who uses Better messages plugin
Update: Layout update for shortcode [subscribe_PNFPB_push_notification] to subscribe notifications for Frontend users.
New addition: Automatic scroll to appropriate comment after clicking from push notification for comments.
Update: New fields to DB table.
= 1.51 =
Update: Activity comment link in notification
= 1.50 =
New Addition: Action scheduler to process more than 1000 subscribers in more than one queue with 1000 subscribers each in background mode. Since Firebase accepts 1000 deviceids per send, action scheduler will be included in upcoming release to schedule in queue (1000 device ids each queue). It will process in asynchronous way to reduce server load.
Update: Private message Thread id for mobile app in notification under data to open private message thread directly in mobile app using deep link
Update: Activity comment link in notification
New Feature: Search button in Device tokens list admin panel to search user id and tokens
Update: Clearing of stale/invalid tokens for webview mobile apps. For websites, this logic is already present.
Update: On demand push notification panel changes to include image link and click action link
Update: Removed character limit in on demand push notification
Update: DB table changes to include web_auth and web_256 fields in database for future use incase if users wants to migrate tokens from other push service providers
Bug fix: Fixed problems related to post title while scheduling notifications for POST
Update: Added new checkbox to enable/disable push notification for BuddyPress activity
Update: Javascript routine to receive tokens from android java app using webview javascript interface
Update: Customize push notification title for all post types,comments and for activity. Use [member name] shortcode to display post/activity/comment author name in title. For example, If title contains [member name] published a post then push notification title will be Tom published a post where Tom is member name who posted the post.
Bug fix: Close push notification after clicking on notification in mobile.
= 1.49 =
Bug fix: Close push notification after clicking on notification in mobile.
= 1.48 =
Bug fix: Automatic Deletion of tokens using CRON schedule with userid does not exist/deleted users and with userid = 0.
= 1.47 =
New features: Added new push notifications for New member joined, Friend request, Friendship accepted, User avatar change, User cover image change in BuddyPress.
New feature: New option added in device token list page to enable/disable automatic deletion of tokens whose userid no longer exists and tokens without userid. It can be enabled/disabled according website admin choice in plugin settings area.
Update: shortcode [subscribe_PNFPB_push_notification] is updated to have new push notification options for New member joined, Friend request, Friendship accepted, User avatar change, User cover image change. Front end user can opt/not to opt for push notifications according to their choice.
Update: Plugin settings area screen updated with custom radio buttons and custom check box.
= 1.46 =
New Addition: New Shortcode PNFPB_PWA_PROMPT added to create button to install PWA. Button text and color, background color can be customized in plugin settings area under customize button tab in last 3 fields.If user clicks this button, it will show default prompt to install PWA. This shortcode can be placed anywhere or in sidebar according to convenience.
= 1.45 =
New Addition: New Shortcode PNFPB_PWA_PROMPT added to create button to install PWA. If user clicks this button, it will show default prompt to install PWA. This shortcode can be placed anywhere or in sidebar according to convenience.
= 1.44 =
New Addition: Added new option to enable/disable service worker file to switch on/off push notification under plugin settings in “API to integrate mobile app” admin tab. By default push notification option will be ON.This option will disable service worker file, it will switch off push notification service as well as it will switch off PWA. Use this option only, if you want to use this plugin for push notification services via REST API (example: for mobile app using WebView)
= 1.43 =
To remove duplicate push notifications for mobile apps using webview REST API interface and to fix problems related to deletion of unsubscribed tokens for webview.
= 1.42 =
Compatible with wordpress 6.1.1 version.
Added default push notification message content options in plugin setting field when new BuddyPress activity/BuddyPress group activity/post/BuddyPress activity comments/custom post/custom post comments/BuddyPress private messages
Modified click action logic in push notifications, click action option removed when site invoked using WebView mobile app. Click action will present if site is invoked using Desktop/Mobilebrowsers and in PWA.
Allow/Block prompt for push notification will appear only if site is invoked using using Desktop/Mobilebrowsers and in PWA.
Added new admin option in plugin settings area for NGINX server/hosting to enable/disable static push notification service worker file and for PWA manifest json files.If server is NGINX and not able to create dynamic service worker file https://pnfpb_icpush_pwa_sw.js & PWA manifest json file https://pnfpbmanifest.json then go to plugin settings->nginx tab, enable static file creation option, it will create required static service worker file, PWA manifest json files in root folder. This option is applicable only if hosting/server is based on NGINX and not creating dynamic service worker file, manifest json files. By default, this plugin creates dynamic service worker file and PWA manifest json file.
= 1.40 =
Compatible with wordpress 6.1.1 version.
Added default push notification message content options in plugin setting field when new BuddyPress activity/BuddyPress group activity/post/BuddyPress activity comments/custom post/custom post comments/BuddyPress private messages
Modified click action logic in push notifications, click action option removed when site invoked using WebView mobile app. Click action will present if site is invoked using Desktop/Mobilebrowsers and in PWA.
Allow/Block prompt for push notification will appear only if site is invoked using using Desktop/Mobilebrowsers and in PWA.
Added new admin option in plugin settings area for NGINX server/hosting to enable/disable static push notification service worker file and for PWA manifest json files.If server is NGINX and not able to create dynamic service worker file https://pnfpb_icpush_pwa_sw.js & PWA manifest json file https://pnfpbmanifest.json then go to plugin settings->nginx tab, enable static file creation option, it will create required static service worker file, PWA manifest json files in root folder. This option is applicable only if hosting/server is based on NGINX and not creating dynamic service worker file, manifest json files. By default, this plugin creates dynamic service worker file and PWA manifest json file.
= 1.39 =
Group subscription logic updated to check whether cookie related to group subscription for particular user is present or not.
= 1.38 =
To fix problem related to setting cookie values while subscribing to Group notifications for BuddyPress Groups.
= 1.37 =
To fix warning related to permission callback in REST API related code while using in WordPress debug mode.
= 1.36 =
Compatible and tested upto WordPress6.0 version. Added REST API facility to get subscription token from native/hybrid mobile app users to send push notifications from this plugin to Native/Hybrid mobile app users along with website users.
= 1.35 =
Added new custom install prompt as New snack bar type for custom install PWA prompt. Admin can set custom install prompt appearence as pop up or snack bar/toast. Updated logic to appear custom install pwa prompt once in 7 days if user dismisses the pwa installation.
= 1.34 =
Fixed problem related to Alter push notification database table to add New column subscription_option for shortcode subscription after plugin loaded.
= 1.33 =

  • Resolved problem related to alter table new column subscription_option in push notification table
    = 1.32 =
    Tested upto 5.9. Compatible upto latest version of WordPress 5.9.
    Updated readme text plugin file.
    Following new options are introduced in push notification shortcode [subscribe_PNFPB_push_notification]
    a.Subscribe all notifications
    b.Subscribe to all new post/new BuddyPress activity notifications
    c.Subscribe to all new comments for post,BuddyPress activities notifications
    d.Subscribe to new comments notifications only from My BuddyPress activities or My post based on Post Author id/BuddyPress activity Author id
    e.Unsubscribe all notifications
    Shortcode push notification option text can be customized using plugin admin area under tab customize buttons.
    Changes tp push notifications based on different options from shortcode when shortcode [subscribe_PNFPB_push_notification] is active otherwise default push notification subscription will be sent to subscribed users based on plugin admin area settings.
    = 1.31 =
    Following new options are introduced in push notification shortcode [subscribe_PNFPB_push_notification]
    a.Subscribe all notifications
    b.Subscribe to all new post/new BuddyPress activity notifications
    c.Subscribe to all new comments for post,BuddyPress activities notifications
    d.Subscribe to new comments notifications only from My BuddyPress activities or My post based on Post Author id/BuddyPress activity Author id
    e.Unsubscribe all notifications
    Shortcode push notification option text can be customized using plugin admin area under tab customize buttons.
    Changes tp push notifications based on different options from shortcode when shortcode [subscribe_PNFPB_push_notification] is active otherwise default push notification subscription will be sent to subscribed users based on plugin admin area settings.
    = 1.30 =
    To fix problem related to featured image in push notification for post.
    To send push notification with featured image for post, if featured image assigned to post otherwise it will take image url from post content for push notification.
    Update to filter backslashes in push notification messages.
    = 1.29 =
    New tab in admin settings to customize buttons and dialog text for subscription/unsubscription of push notifications.
    Resolved problems related to unsubscribing push notification using shortcode.
    Group notification will work independently with subscription using shortcode. For users who are subscribed to BuddyPress group notifications needs to be unsubscribe separately independent of shortcode subscribe/unsubscribe.
    = 1.28 =
    when PWA is disabled then offline cache will not be available.
    Added new PWA admin setting field to exclude urls(disable cache for all urls except offline page) when PWA is enabled.
    = 1.27 =
    Resolved remove footer messages related to custom install PWA popup messages.
    Updated Firebase database url field in push notification admin settings as optional.
    Changes to launch PWA independent of Push notification settings. PWA will work with or without push notification.
    Added new code to delete settings in database while uninstalling the app.
    Added new code for Custom PWA install popup to install PWA app.
    Added new code to customize PWA install popup in PWA admin settings.
    Strip tags Removal of HTML tags in push notification content.
    Added video tutorial showing how to configure Firebase for this plugin.
    = 1.26 =
    Updated Firebase database url field in push notification admin settings as optional.
    Changes to launch PWA independent of Push notification settings. PWA will work with or without push notification.
    Added new code to delete settings in database while uninstalling the app.
    Added new code for Custom PWA install popup to install PWA app.
    Added new code to customize PWA install popup in PWA admin settings.
    Strip tags Removal of HTML tags in push notification content.
    Added video tutorial showing how to configure Firebase for this plugin.
    = 1.25 =
    Send push notification with images for Post,Custom post types,BuddyPress activities,groups,private messages and comments.
    While Push notification, plugin will auto detect img html tag in the content use that image in push notification message.
    = 1.24 =
    To fix array problem related in removing unsubscribed users based on firebase push notification result.
    = 1.23 =
    Changes to avoid conflict with other Firebase based plugins
    = 1.22 =
    Updated with detailed procedure to set up firebase configuration in plugin admin area and in plugin page
    = 1.21 =
  • New feature added in admin plugin settings panel to send custom or on-demand or one time push notification from plugin admin panel to all subscribers.
    Added exclude urls option in PWA admin settings page. List of urls entered in this options are excluded from offline cache from service worker. New feature to generate Progressive Web App (PWA) with offline facility.
    = 1.20 =
    New feature to generate Progressive Web App (PWA) with offline facility.
    Go to plugin admin area PWA settings to activate PWA Progressive Web App facility
    Fix to use push notifications for wordpress sites installed in sub folders.
    Modified version of plugin admin settings pages.
    = 1.19 =
    To fix problem related to delete device token in admin settings.New features to schedule push notifications and new admin option to manage subscribed device tokens list for push notifications.
    = 1.18 =
    New features to schedule push notifications and new admin option to manage subscribed device tokens list for push notifications
    if schedule check box is ON then admin can schedule push notification in hourly/twicedaily/daily/weekly schedules
    Schedule push notification is applicable to post types, BuddyPress new activities/new group activities/new comments posted for BuddyPress activities.
    = 1.17 =
    New features to schedule push notifications and new admin option to manage subscribed device tokens list for push notifications
    if schedule check box is ON then admin can schedule push notification in hourly/twicedaily/daily/weekly schedules
    Schedule push notification is applicable to post types, BuddyPress new activities/new group activities/new comments posted for BuddyPress activities.
    Go to admin settings and schedule push notification accordingly. If schedule is off then push notifications will be sent whenever new item is posted according to option settings
    = 1.16 =
    New feature to clear outdated device tokens which are un-subscribed or if user un-subscribed from the browser then that token will be automatically deleted to avoid duplicates.
    Private message notifications from sender only to user who subscribed. User id will automatically updated with device token when user logged in and already subscribed to push notifications.
    = 1.15 =
    Bug fixes related to update userid when user logged in for device already subscribed.
    New feature to clear outdated device tokens which are not subscribed or if user un-subscribed from the browser then that token will be automatically deleted to avoid duplicates.
    New features added to send push notifications for private messages in BuddyPress only to receiver’s id.
    = 1.14 =
    New feature to clear outdated device tokens which are not subscribed or if user un-subscribed from the browser then that token will be automatically deleted to avoid duplicates.
    New features added to send push notifications for private messages in BuddyPress only to receiver’s id.
    Bug fix to update userid when user logged in for device already subscribed.
    = 1.13 =
    New features added to send push notifications for private messages in BuddyPress only to receiver’s id.
    When Buddypress private message notification is enabled, Private message notification will be sent only to the recipient id sent by sender. Admin can customize the text for push notification title from admin options.
    Foreground push notification in android browser when browser is in focus along with background push notification(which is already in old release).
    Compatible upto WordPress 5.8.1 and blocks.
    = 1.12 =
    Removed alert dialogs for service worker registration failed, replaced with console logs.
    Firebase PUSH api will work in Chrome,Edge,Firefox and other major browsers except Safari.
    Firebase PUSH API is not compatible with Safari browsers and push notification using firebase push api will not work in Safari browsers.
    For Safari browsers,this plugin will display console log messages to indicate the browser is not supported for push api.
    = 1.11 =
    Changes to BuddyPress Group member push notification subscription/unsubscription.
    Changes to Compatiable with buddyx theme, buddypress template packs – legacy and BuddyPress Nouveau.
    Fixed – Push Notification permission to ask only with user gesture and removed request permission without user gesture
    = 1.10 =
    New feature added – BuddyPress Group members can subscribe/remove push notification for every group.
    When BuddyPress Group Members option is enabled, it will send push notification only to users who joined in Group/to Particular group members.
    = 1.9 =
    Compatible upto WordPress Version 5.6

= 1.8 =
New feature added – BuddyPress Group members can subscribe/remove push notification for every group.
When BuddyPress Group Members option is enabled, it will send push notification only to users who joined in Group/to Particular group members.
Compatible upto WordPress Version 5.6
= 1.7 =
Fixed warnings related to sourcemapping firebase core javascript
Updated firebase core modules
Push notifications will better work in normal browser not in cognito private browser as it requires service worker registrations to display push notification.
This plugin requires firebase credentials to be filled in plugin admin area to get push notifications from FireBase. Please refer plugin documentation
Updated subscribe and unsubscribe javascript files compatible with latest jquery

= 1.6 =
Updated firebase core modules
Compatible upto WordPress Version 5.5.1. Updated author URL.

= 1.5 =
Compatible upto WordPress Version 5.5.1. Updated author URL.

= 1.4 =
Compatible upto WordPress Version 5.4.2. Updated author URL.

= 1.3 =
Compatible and tested upto WordPress Version 5.4.2

= 1.2 =

  • Added new shortcode [subscribe_PNFPB_push_notification] to unsubscribe push notifications.
  • Removed manifest.json file generation as it is required by old generation.

= 1.1.1 =

  • Added new shortcode [subscribe_PNFPB_push_notification] to unsubscribe push notifications.
  • Removed manifest.json file generation as it is required by old generation.

= 1.1 =

  • Updated with link to the settings on the Plugins screen.

= 1.0 =

  • Initial version.

== Upgrade Notice ==

  • New feature: Various Subscription options are included in custom prompt, bell icon while subscribing for push notification first time. Users will be able to select subscription options while subscribing for the first time from custom prompt/bell icon. From bell icon, front end users will be able to modify subscription options whenever it is needed. Subscription option can be turned on/off to include/exclude in custom prompt or in bell icon from admin settings.
  • Bug fix: Removed unwanted console messages in mobile webview javascripts.
  • New feature: Included [group name] place holder for group title push notification.
  • New feature: If Buddypress followers plugin installed then notification can be sent only to followers for buddypress activities/group activities/comments.
  • Bug fix for webview mobile app: Fixed problems related to android/ios mobile app push notification subscription option update to database, saving front end subscription options in webview app.
  • Bug fix for Firebase httpv1 version: Fixed problem in admin settings on uploading service account json file to enable firebase httpv1 version api independent of other firebase settings.
  • Bug fix for BuddyBoss users: Updated logic to send notifications for activity comments only to liked users for particular activity.
  • Bug fix for BuddyBoss users: Updated logic in group forum activities to send notifications only for subscribed users for particular forum.
  • Bug fix for onesignal users: Updated logic to control onesignal push notifications based on admin options enabled for various push notifications in plugin admin page.
  • 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.
  • Bug fix: Resolved private message notifications for mobile app/webview app.
  • Compatible with WordPress 6.4
  • Bug fix: Resolved warning messages in sql query in one time push notifications list tab in admin settings related to orderby.
  • Bug fix: Resolved problems related to webview mobile app notifications for ondemand/one time push notifications.
  • New feature: New option in admin settings to send push notifications only for loggedin users for Firebase based notifications.
  • New feature: New option adminsettings for onesignal based notifications to send push notifications only for loggedin users. It will send notifications based on id for every subscribed users.
  • New feature: New option in admin settings to send push notifications only for loggedin users.
  • Update: Shortcode button and frontend push notifications settings will appear based on admin settings to send push notifications only for loggedin users.
  • Bug fix: Fixed problem related to post and custom post type notifications related to metabox checkbox in new post/post edit page to validate based on edit page or in front end to send notifications accordingly. For front end related post it will work based on admin post enabled settings and for admin new/edit post page, it will work based on metabox checkbox enabled/disabled.
  • Bug fix: Fixed problem related to mycomments notification using Firebase httpv1 version.
  • Bug fix: Fixed problem on private messages notification for webview using Firebase httpv1 version.
  • Bug fix: Fixed problem on Firebase httpv1 notifications for webview.
  • Update: Allow push notification for post when meta box for notification is turned on irrespective of admin settings.
  • Bug fix: Fixed problem related to onesignal on demand push notifications to work independent of Firebase settings in PNFPB admin settings. If you enable onesignal has push notification provider then ondemand push notification will work without filling firebase credentials independently using Onesignal credentials.
  • Bug fix: Fixed problems in Group push notification using Firebase httpv1 version.
  • For Shortcode [subscribe_PNFPB_push_notification],
  • Bug fix: Shortcode button text changes during subscribe/unsubscribe notification.
  • Update: In Shortcode – Loading spinner added while subscribing and unsubscribing notification.
  • Update: In Shortcode – Close button added in confirmation dialog.
  • Bug fix: Rectified problem related to wrongly displayed subscription option updated text for last checkbox option in shortcode. Updated code to display correct text for that option.
  • Update: Shortcode push notifications options will be displayed as per settings enabled in admin push settings for frontend users.
  • BuddyPress Mentions push notifications – one to one notification only to user mentioned in BuddyPress activity
  • Scheduling notifications changes to delete old data when it is reset/switched off.
  • Merged cron schedule notifications with action scheduler to schedule notifications in background.
  • Admin panel changes for scheduling notifications.
  • Links to action scheduler tab in admin panel to view list of scheduled notifications for BuddyPress activities/group activities/comments and for post, custom post types.
  • Scheduling notifications changes to start at entered time instead of immediate start.
  • Customise options for Frontend Custom prompt to subscribe/unsubscribe notifications are added in admin push settings panel to customise button text for custom prompt, customise display message text in custom prompt.
  • New meta box with checkbox added for every post/page to send or not to send push notifications while creating post.
  • Admin settings to enable BuddyPress comments notifications only for author of particular activity (comment notifications only for My post/My activities).
  • PWA install prompt shortcake will work independent of custom prompt of PWA.
  • PWA custom install prompt can be enabled/disabled for desktop/mobile/tablet/according to screen size. Various custom options added in PWA settings tab.
  • Update: Plugin is compatible for mobile apps designed using WebtoNative with onesignal as push notification provider. Included webtonative script in this plugin to enable push notification for mobile apps using webtonative with onesignal.
  • Update: Shortcode [subscribe_PNFPB_push_notification] is updated to subscribe new push notification along with changing/updating various subscription options. Shortcode will work only for * push notification using Firebase settings for Push notification, it is not for onesignal push as onesignal uses different subscription method.
  • Push notification can be subscribed in following 3 ways,
    1. Direct browser default promptt with user interaction,
    2. By enabling custom prompt for push notification settings (from plugin admin settings),
    3. By using shortcode [subscribe_PNFPB_push_notification]. Texts in shortcode can be customized using plugin admin settings under button customization tab.
  • Update: Language translation for all es6 javascripts are updated. Language translation will work on new es6 javascripts for push notification subscription.
  • Bug fix: To fix problem for private messages/friendship request/accepted push notifications using onesignal in webview app created with Webtonative.
  • Bug fix: To display warning message for permission not granted when PNFPB subscription shortcode is used in webview mobile app and not to display warning for desktop/web mobile view websites. websites.
  • New feature: Admin notification list tab – New submenu added to filter notification list, following are menu added,
    All – To show all ondemand/onetime/recurring notification list
    On demand – To show on demand notification list without schedule
    One time – To show one time/single schedule notification list
    Recurring – To show all recurring scheduled notification list
    Completed – To get all completed schedule notification list
    Draft – To get all draft notification list using duplicate action. These notifications can be scheduled/sent in future date/time.
    Pending – To get all pending recurring notification list scheduled for future date.
  • Update: Admin one time Notification list status field updated with more relavent details with next scheduled date for recurring notification.
  • Update: Admin one time Notification list duplicate action logic is updated to create draft with date and time fields.
  • Update: While re-sending duplicated notification, it will use same draft id.
  • Update: After deleting notification in one time notification, logic updated to delete action scheduler entries also.
  • Bug fix: Shortcode to install PWA problem is resolved.
  • Bug fix: On demand legacy push notification title problem resolved
  • Update: Language related changes for hardcoded text.
  • Bug fix: httpv1 firebase latest version notification logic updated for private messages/friendship request/accept.
  • Bug fix: To fix push notification problems related to multiple devices for same user id in friendship request, friendship accepted, private messages.
  • Update: Modified custom prompt toggle between subscribe/unsubscribe notifications.
  • Update: Security fix to secure Firebase credentials in ajax routines.
  • Update: Automatic migration of subscription tokens according to latest version of Firebase api httpv1 to subscribe to relavant topics.
  • New feature: Store subscription endpoint and subscription server key from browser pushsubscrition in database for future use, incase if user wants to migrate to other Push notification providers.
  • New feature: Option to use latest version of Firebase API httpv1 for push notification. It requires service account json file to be uploaded. Instructions on how to get service account json from Firebase account is given in plugin admin area.
  • New feature: If latest version of Firebase api httpv1 is enabled then push notification will be sent more securely using oauth token everytime generated using googleapi client using service account credential file uploaded in plugin admin area.
  • New feature: Option to use onesignal as push notification provider instead of Firebase.
  • New feature: Schedule One time push notification/On demand push notification with single/recurring schedule
  • New feature: New tab to display all one time push notification which are previously sent with re-send option or to duplicate the notification to save as draft for future use.
  • New feature: User avatar instead of push icon in activity push notifications.
  • New feature: Custom prompt to subscribe/unsubscribe notification using a push notification icon. Admin user can update/change this icon and text according to their wish in plugin admin area.
  • Bug fixes and security improvements.
  • Bug fix: Enqueue media problem resolved in plugin settings to attach images in Push notification admin settings area.
  • Bug fix: Enqueue media problem resolved in plugin settings to attach images in PWA, Push notification settings area.
  • Bug fix: Group notification subscribe/unsubscribe button problem resolved.
  • Bug fix: Corrected text domain in Frontend push notification subscription text to Translate correctly by translation plugin.
  • New feature: ICON facility for group push notification subscription/unsubscription. Custom icons for group push notification subscription/unsubscription can be uploaded in button customization tab.
  • Bug fix (for webview mobile apps): Resolved push notification problem for webview mobile apps when frontend subscription option is null/empty.
  • Bug fix (for PWA): Resolved service worker cache problem in PWA app when exclude all url option is ON – To exclude all urls including offline urls.
  • Bug fix (for webview mobile apps API): Resolved problem in mobile app subscription token API to update default frontend subscription option when it receives empty value in frontend subscription option field in API.
  • New features: Push notification for BuddyPress group invite and Push notification when BuddyPress group details updated.
  • New features: Admin Push notifications when new user registered and when user submitted contact form (Contact form7 plugin).
  • New features: PNFPB settings admin bar menu and PNFPB plugin settings are moved to separate top level menu in WordPress Admin left sidebar.
  • Update: Following shortcodes will work in both push notification title and in push notification content according to respective push notification types.
    [member name], [user name], [sender name], [friendship acceptor name], [friendship initiator name]
  • New feature – Added new javascript code to communicate with IOS app in SWIFT language code with WKWEBVIEW to get push subscription token and to send push notifications to IOS app (in SWIFT language).
  • Updated language related to map all strings to text level domain to support language translation.
  • Plugin settings menus are moved to top level admin menu below settings menu(in admin left sidebar menu)
  • Fixed PWA admin settings problems.
  • Compatiable upto WordPress 6.2 version.
  • New Feature: Schedule one time/on demand push notification to start at different date and time. It allows to schedule multiple notifications to start at different date and time
  • Bug fix: Fixed problems related to REST API POST parameter ‘subscriptionoptions’ and REST API POST parameter “userid” updation to notification database table.
  • Update: Front end subscription menu update confirmation will appear in bottom below submit button.
  • New feature: New language translation POT file
  • Update: Added text domain to all text strings in PNFPB plugin
  • Update: Updated action scheduler tab to filter results based on PNFPB action scheduler tasks with screen option.
  • Update: New postMessage for webview to send current logged in userid to webview using postMessage. It can be received using “pnfpbuserid” webview JSinterface/Javascriptchannels in mobile app
  • New feature: Added new frontend subscription menu to subscribe/unsubscribe notifications only for Comments on My Post / My BuddyPress activities. If this option is turned on then Comments on all activities will automatically turned off. Both are toggle options.
  • New feature: Added new REST API POST parameter “userid” to receive push notification subscription token along with userid from mobile apps in AES-CBC-256 encryption mode.
  • Bug fix: Resolved problems related to Frontend subscription menu to subscribe/unsubscribe various push notifications.
  • Bug fix: Resolved problem related to REST API receiving data from webview mobile apps for push notifications.
  • Bug fix: Resolved search pagination in device token list table in plugin admin settings under device token list tab.
  • Update: Added firebase support check in frontend subscription option logic to separate processing for website and for mobile apps using webview.
  • Update: Added webview browser check logic to detect for mobile app webview or website in group push notification subscription buttons in BuddyPress groups.
  • New feature: New REST API parameter ‘subscriptionoptions’ added to receive front end subscription options opted by webview Mobile app Front end users
  • Bug fix: Resolved paging issue in device token list
  • Update: Show front end subscription options under user profile in BuddyPress according to admin settings
  • Update: Comment author name option in push notification title when comments for Post/custom post type are published.
  • Update: Button to switch on/off Front end subscription menu under user profile settings in BuddyPress
  • New feature: Added below parameter to send Front end subscribed options to webview app using javascript interface/channel.
    ‘frontendsubscriptionOptions.postMessage(subscriptionoptions);’
    In mobile app it can be received using frontendsubscriptionOptions javascriptchannel/javascriptinterface. After receiving this parameter, it can be sent as parameter subscriptionoptions along with subscription token to send it back to wordpress site using REST API in http POST to store in PNFPB plugin wp database table. In this way, webview mobile app users can control/opt-in/opt-out their push notifications using Front end push notificaiton menu under BuddyPress user profile – settings.
  • Bug fix: Resolved problem related to Comment author name incorrect in post/custom post type push notification title.
  • Bug fix: Resolved problem related to Comment author name incorrect in push notification title.
  • Update: Changes to plugin to make it compatible with other Firebase plugins like integrate-firebase.
  • Bug fix: Resolved problem related to Image url in group activities.
  • Bug fix: Resolved problem related to Cookie value check in group subscription update ajax routine.
  • Bug fixes: Resolved problems while updating device ids under checkdeviceid routine and Resolved problem undefined variable userdomain in frontend subscription menu.
  • New Addition: Custom push notification subscribe prompt to allow or block push notification for WordPress website users.
  • New Addition: Push notification support for FireFox Android Browser using custom prompt
  • New Addition: Customize push notification subscription prompt in plugin settings area. Dialog text, button text, text color, background color of dialog box and position of dialog box shall be customized in admin settings of plugin. Refer Push notification settings tab.
  • Update: New design of custom install prompt for PWA install
  • Update: click action url link will be sent in payload under data for push notifications to mobile apps/mobile apps using webview. App shall parse payload under data to get url to load webview to appropriate clicked link in webview.
  • Removal: Popup type custom install PWA prompt removed instead use new design of custom install prompt for PWA install available under admin PWA settings.
  • New Addition: New Front end menu in user profile to opt for various push notification for frontend users. This menu will be available for BuddyPress users under user profile – settings – Push Notification Subscription.
  • Bug fix: Strip slashes while sending push notifications
  • Bug fix: Fixed problem related to total records display in device tokens list under plugin admin settings.
  • Bug fix: Removed action scheduler warning for delayed tasks
  • Bug fix: Fixed problem in webview push notification related to Enabling/disabling push notification subscription button for BuddyPress groups
  • New addition: Private messages push notification for the users who uses Better messages plugin
  • Update: Layout update for shortcode [subscribe_PNFPB_push_notification] to subscribe notifications for Frontend users.
  • New addition: Automatic scroll to appropriate comment after clicking from push notification for comments.
  • Update: New fields to DB table.
  • Update: Activity comment link in notification
  • New Addition: Action scheduler to process more than 1000 subscribers in more than one queue with 1000 subscribers each in background mode. Since Firebase accepts 1000 deviceids per send, action scheduler will be included in upcoming release to schedule in queue (1000 device ids each queue). It will process in asynchronous way to reduce server load.
  • Update: Private message Thread id for mobile app in notification under data to open private message thread directly in mobile app using deep link
  • Update: Activity comment link in notification
  • New Feature: Search button in Device tokens list admin panel to search user id and tokens
  • Update: Clearing of stale/invalid tokens for webview mobile apps. For websites, this logic is already present.
  • Update: On demand push notification panel changes to include image link and click action link
  • Update: Removed character limit in on demand push notification
  • Update: DB table changes to include web_auth and web_256 fields in database for future use incase if users wants to migrate tokens from other push service providers
  • Bug fix: Fixed problems related to post title while scheduling notifications for POST
  • Update: Added new checkbox to enable/disable push notification for BuddyPress activity
  • Update: Javascript routine to receive tokens from android java app using webview javascript interface
  • Update: Customize push notification title for all post types,comments and for activity. Use [member name] shortcode to display post/activity/comment author name in title. For example, If title contains [member name] published a post then push notification title will be Tom published a post where Tom is member name who posted the post.
  • Bug fix: Close push notification after clicking on notification in mobile.
  • Bug fix: Automatic Deletion of tokens using CRON schedule with userid does not exist/deleted and with userid = 0.
  • New features: Push notifications for New member joined, Friend request, Friendship accepted, User avatar change, User cover image change in BuddyPress.
  • New feature: New option added in device token list page to enable/disable automatic deletion of tokens whose userid no longer exists and tokens without userid. It can be enabled/disabled according website admin choice in plugin settings area.
  • Update: shortcode [subscribe_PNFPB_push_notification] is updated to have new push notification options for New member joined, Friend request, Friendship accepted, User avatar change, User cover image change. Front end user can opt/not to opt for push notifications according to their choice.
  • Update: Plugin settings area screen updated with custom radio buttons and custom check box.
  • New Addition: New Shortcode PNFPB_PWA_PROMPT added to create button to install PWA. Button text and color, background color can be customized in plugin settings area under customize button tab in last 3 fields.If user clicks this button, it will show default prompt to install PWA. This shortcode can be placed anywhere or in sidebar according to convenience.
  • New Addition: New Shortcode PNFPB_PWA_PROMPT added to create button to install PWA. If user clicks this button, it will show default prompt to install PWA. This shortcode can be placed anywhere or in sidebar according to convenience.
  • New Addition: Added new option to enable/disable service worker file to switch on/off push notification under plugin settings in “API to integrate mobile app” admin tab. By default push notification option will be ON.This option will disable service worker file, it will switch off push notification service as well as it will switch off PWA. Use this option only, if you want to use this plugin for push notification services via REST API (example: for mobile app using WebView)
  • To remove duplicate push notifications for mobile apps using webview REST API interface and to fix problems related to deletion of unsubscribed tokens for webview.
  • Modified click action logic in push notifications, click action option removed when site invoked using WebView mobile app. Click action will present if site is invoked using Desktop/Mobilebrowsers and in PWA.
  • Compatible with wordpress 6.1.1 version.
  • Added default push notification message content options in plugin setting field when new BuddyPress activity/BuddyPress group activity/post/BuddyPress activity comments/custom post/custom post comments/BuddyPress private messages
  • Modified click action logic in push notifications, click action option removed when site invoked using WebView mobile app. Click action will present if site is invoked using Desktop/Mobilebrowsers and in PWA.
  • Allow/Block prompt for push notification will appear only if site is invoked using using Desktop/Mobile browsers and in PWA.
  • Added new admin option in plugin settings area for NGINX server/hosting to enable/disable static push notification service worker file and for PWA manifest json files.If server is NGINX and not able to create dynamic service worker file https:///pnfpb_icpush_pwa_sw.js & PWA manifest json file https:///pnfpbmanifest.json then go to plugin settings->nginx tab, enable static file creation option, it will create required static service worker file, PWA manifest json files in root folder. This option is applicable only if hosting/server is based on NGINX and not creating dynamic service worker file, manifest json files. By default, this plugin creates dynamic service worker file and PWA manifest json file.
  • Group subscription logic updated to check whether cookie related to group subscription for particular user is present or not.
  • To fix problem related to setting cookie values while subscribing to Group notifications for BuddyPress Groups.
  • To fix warning related to permission callback in REST API related code while using in WordPress debug mode.
  • Compatible and tested upto WordPress6.0 version. Added REST API facility to get subscription token from native/hybrid mobile app users to send push notifications from this plugin to Native/Hybrid mobile app users along with website users.
  • Added new custom install prompt as New snack bar type for custom install PWA prompt. Admin can set custom install prompt appearence as pop up or snack bar. Updated logic to appear custom install pwa prompt once in 7 days if user dismisses the pwa installation.
  • Fixed problem related to Alter push notification database table to add New column subscription_option for shortcode subscription after plugin loaded.
  • Resolved problem related to alter table new column subscription_option in push notification table
  • Tested upto 5.9. Compatible upto latest version of WordPress 5.9
    Following new options are introduced in push notification shortcode [subscribe_PNFPB_push_notification]
    a.Subscribe all notifications
    b.Subscribe to all new post/new BuddyPress activity notifications
    c.Subscribe to all new comments for post,BuddyPress activities notifications
    d.Subscribe to new comments notifications only from My BuddyPress activities or My post based on Post Author id/BuddyPress activity Author id
    e.Unsubscribe all notifications
    Shortcode push notification option text can be customized using plugin admin area under tab customize buttons.
    Changes tp push notifications based on different options from shortcode when shortcode [subscribe_PNFPB_push_notification] is active otherwise default push notification subscription will be sent to subscribed users based on plugin admin area settings.
  • Following new options are introduced in push notification shortcode [subscribe_PNFPB_push_notification]
    a.Subscribe all notifications
    b.Subscribe to all new post/new BuddyPress activity notifications
    c.Subscribe to all new comments for post,BuddyPress activities notifications
    d.Subscribe to new comments notifications only from My BuddyPress activities or My post based on Post Author id/BuddyPress activity Author id
    e.Unsubscribe all notifications
    Shortcode push notification option text can be customized using plugin admin area under tab customize buttons.
    Changes tp push notifications based on different options from shortcode when shortcode [subscribe_PNFPB_push_notification] is active otherwise default push notification subscription will be sent to subscribed users based on plugin admin area settings.
  • To fix problem related to featured image in push notification for post.
    To send push notification with featured image for post, if featured image assigned to post otherwise it will take image url from post content for push notification.
    Update to filter backslashes in push notification messages.
  • New tab in admin settings to customize buttons and dialog text for subscription/unsubscription of push notifications.
    Resolved problems related to unsubscribing push notification using shortcode.
    Group notification will work independently with subscription using shortcode. For users who are subscribed to BuddyPress group notifications needs to be unsubscribe separately independent of shortcode subscribe/unsubscribe.
  • When PWA is disabled then offline cache will not be available.
    Added new PWA admin setting field to exclude urls(disable cache for all urls except offline page) when PWA is enabled.
  • Resolved remove footer messages related to custom install PWA popup messages.
    Updated Firebase database url field in push notification admin settings as optional.
    Changes to launch PWA independent of Push notification settings. PWA will work with or without push notification.
    Added new code to delete settings in database while uninstalling the app.
    Added new code for Custom PWA install popup to install PWA app.
    Added new code to customize PWA install popup in PWA admin settings.
    Strip tags Removal of HTML tags in push notification content.
    Added video tutorial showing how to configure Firebase for this plugin.
  • Updated Firebase database url field in push notification admin settings as optional.
    Changes to launch PWA independent of Push notification settings. PWA will work with or without push notification.
    Added new code to delete settings in database while uninstalling the app.
    Added new code for Custom PWA install popup to install PWA app.
    Added new code to customize PWA install popup in PWA admin settings.
    Strip tags Removal of HTML tags in push notification content.
    Added video tutorial showing how to configure Firebase for this plugin.
  • Send push notification with images for Post,Custom post types,BuddyPress activities,groups,private messages and comments.
  • To fix array problem related in removing unsubscribed users based on firebase push notification result.
  • Changes to avoid conflict with other Firebase based plugins
  • Updated with detailed procedure to set up firebase configuration in plugin admin area and in plugin page. Firebase allows free push notification across multiple devices.
  • New feature added in admin plugin settings panel to send custom or on-demand or one time push notification from plugin admin panel to all subscribers.
    Added exclude urls option in PWA admin settings page. List of urls entered in this options are excluded from offline cache from service worker.New feature to generate Progressive Web App (PWA) with offline facility.
  • New feature to generate Progressive Web App (PWA) with offline facility.
    Go to plugin admin area PWA settings to activate PWA Progressive Web App facility
    Fix to use push notifications for wordpress sites installed in sub folders.
    Modified version of plugin admin settings pages.
  • To fix problem related to delete device token in admin settings.New features to schedule push notifications and new admin option to manage subscribed device tokens list for push notifications
  • New features to schedule push notifications and new admin option to manage subscribed device tokens list for push notifications
    if schedule check box is ON then admin can schedule push notification in hourly/twicedaily/daily/weekly schedules
    Schedule push notification is applicable to post types, BuddyPress new activities/new group activities/new comments posted for BuddyPress activities.
  • New features to schedule push notifications and new admin option to manage subscribed device tokens list for push notifications
    if schedule check box is ON then admin can schedule push notification in hourly/twicedaily/daily/weekly schedules
    Schedule push notification is applicable to post types, BuddyPress new activities/new group activities/new comments posted for BuddyPress activities.
    Go to admin settings and schedule push notification accordingly. If schedule is off then push notifications will be sent whenever new item is posted according to option settings
  • New feature to clear outdated device tokens which are un-subscribed or if user un-subscribed from the browser then that token will be automatically deleted to avoid duplicates.Private message notifications from sender only to user who subscribed. Userid will automatically updated with device token when user logged in and already subscribed to push notifications
  • Bug fixes to update userid when user logged in for device already subscribed.New feature to clear outdated device tokens which are not subscribed or if user un-subscribed from the browser then that token will be automatically deleted to avoid duplicates.New features added to send push notifications for private messages in BuddyPress only to receiver’s id.
  • New feature to clear outdated device tokens which are not subscribed or if user un-subscribed from the browser then that token will be automatically deleted to avoid duplicates.New features added to send push notifications for private messages in BuddyPress only to receiver’s id. Bug fix to update userid when user logged in for device already subscribed.
  • New features added to send push notifications for private messages in BuddyPress only to receiver’s id.Compatible upto WordPress 5.8.1 and blocks.
    When Buddypress private message notification is enabled, Private message notification will be sent only to the recipient id sent by sender. Admin can customize the text for push notification title from admin options.
    Foreground push notification in android browser when browser is in focus along with background push notification(which is already in old release).
  • Removed alert dialogs for service worker registration failed, replaced with console logs.
  • Firebase PUSH API is not compatible with Safari browsers and push notification using firebase push api will not work in Safari browsers.
  • For Safari browsers,this plugin will display console log messages to indicate the browser is not supported for push api.
  • Changes to BuddyPress Group member push notification subscription/unsubscription.
  • Changes to Compatiable with buddyx theme, buddypress template packs – legacy and BuddyPress Nouveau.
  • Fixed – Push Notification permission to ask only with user gesture and removed request permission without user gesture
  • New feature added – BuddyPress Group members can subscribe/remove push notification for every group.
    When BuddyPress Group Members option is enabled, it will send push notification only to users who joined in Group/to Particular group members.Compatible and tested upto WordPress Version 5.6
  • Compatible and tested upto WordPress Version 5.5.1
  • Compatible and tested upto WordPress Version 5.4.2
  • Added new shortcode [subscribe_PNFPB_push_notification] to unsubscribe push notifications.
  • Removed manifest.json file generation as it is required by old generation.
  • Updated with link to the settings on the Plugins screen.
    Initial version
Would like to install our app?

For IOS and IPAD browsers, Only option to install PWA is to use add to home screen in safari browser

Progressive Web App (PWA) is installed successfully. It will also work in offline

Skip to toolbar