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,