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
Please wait...processing
notification icon
We would like to show you notifications for the latest news and updates.
notification icon
Please wait...processing