Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/muraliwebworld.com/httpdocs/muraliwebworld.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the buddypress domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/muraliwebworld.com/httpdocs/muraliwebworld.com/wp-includes/functions.php on line 6114
Forum – WordPress Plugins by Muralidharan indiacitys.com technologies – Page 12 – Technology forum by Muralidharan

WordPress Plugins by Muralidharan indiacitys.com technologies

Push Notification for Post and BuddyPress

Viewing 5 posts - 56 through 60 (of 90 total)
  • Author
    Posts
  • #563
    Murali
    Keymaster

    Please find attached working example of flutter app to use rest api for pnfpb plugin

    https://www.muraliwebworld.com/wp-content/uploads/2023/07/lib-may202023.zip

    At present i am busy in upgrading this plugin to use latest version of firebase api v1 as per google announcement. It is taking more time due to following reason, legacy api will not be available from june 2024 next year. In the newer version google firebase used modular approach of javascript (like nodejs), so i am remodeling this plugin to use latest version of firebase api v1 by using @wordpress/scripts (like react app) to compile and bundle everything using wordpress script app using npm firebase modules, i need to use those to subscribe tokens in frontend and update to database. There is also change in api to send push notification as per new version, it requires lot of changes, i am remodelling this plugin with more things and features to use all features from latest version of google firebase api v1 , i will be busy for atleast 1 or 2 weeks due to this. WordPress supports non-modular approach (not npm), due to this i am creating external react app compiling and bundling together as per latest version of firebase api v1 to use it in this plugin

    • This reply was modified 1 year, 4 months ago by Murali.
    #565
    Murali
    Keymaster

    If you following this sample it will have options how to get userid, groupid, subscription token extra from plugin to your app and pass token received from webview to rest api to update it in wp database

    https://www.muraliwebworld.com/wp-content/uploads/2023/07/lib-may202023.zip

    #566
    Freddy R.
    Participant

    Hello there,
    Thanks for your help.
    Push notification currently works with messages with my flutter app under Inappwebview.
    Need to use another method on website side to send the data to flutter: window.addEventListener and flutterInAppWebViewPlatformReady.
    And use: addJavaScriptHandler on flutter side ton get the data.
    Thanks again.

    Otherwise, I noticed another issue with: emoji. Emoji are displayed in text code in push notification (Android and Web).

    #596
    Rohit KC
    Participant

    Hi there,

    The push notification is working only on Mozilla firefox and not Google chrome or safari browser,
    What might be the issue?
    Can you help me on this one.

    #597
    Murali
    Keymaster

    Please let me know your site url, i will check. It will work in windows/mac chrome browser desktop, windows edge browser, mac safari browser. Android chrome browser, Android samsung browser.

Viewing 5 posts - 56 through 60 (of 90 total)
  • You must be logged in to reply to this topic.

Manage push notifications

notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications
notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications
Would you like to install our app?
PNFPB Install PWA using share icon

Install our app using add to home screen in browser. In phone/ipad browser, click on share icon in browser and select add to home screen in ios devices or add to dock in macos

PNFPB Install PWA using share icon

Install our app using add to home screen in browser. In phone/ipad browser, click on share icon in browser and select add to home screen in ios devices or add to dock in macos

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

Push notification permission blocked in browser settings. Reset the notification settings for website/PWA