Freddy R.

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #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).

    #560
    Freddy R.
    Participant

    Hello there,

    I have a few questions about the Flutter and pnfpb plugin code example.
    – With the flutter code example, can we receive notifications for private messages?
    I get notifications for new activities but I don’t get notifications for private messages.

    – Could you explain to me the purpose of these 2 bits of code in the web-view-container.dart file?

    
    _pnfpbController.runJavascriptReturningResult('PNFPB_from_Flutter_mobileapp("'+GlobalData.pushtoken+'")').then((value) => print(value));
    

    >> What value this function should return?

    
    onMessageReceived: (JavascriptMessage message)
    

    >> What value ‘message’ should return?

    I’m not getting any data when displaying these two values with Fluttertoast or in the console.

    Thanks in advance,

    #534
    Freddy R.
    Participant

    Hello,

    Thanks for this great plugin.
    If you could help me, I would like to integrate the plugin with a Flutter application but I can’t.
    Instead of flutter_webview, I use inappwebview.
    I would like to see an example of the file: web_view_container.dart if possible.

    Thanks in advance for the response, and also thanks a lot for the plugin.

Viewing 3 posts - 1 through 3 (of 3 total)

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