-
Notifications
You must be signed in to change notification settings - Fork 936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Listen javascript function from flutter #523
Conversation
update example for onPostMessage
Thank You, needed this |
Thanks for PR, give me some time to review this. Just looking at title of this - #457 what's difference between the two ? |
@charafau This #457 use fixed channel 'Android' to listen to JS function for Android version, my solutions help using the dynamic channel for both Android and iOS. More, I'm following this webview_flutter to make this PR. It's mean just call |
Add JavascriptChannel abstraction in dart code
I will make review and check code on Monday 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for PR! I made some comments, but didnt compile that code yet. Code looks good though, will check tomorrow if it works as expected.
This reverts commit b2104ab
@charafau Please check then merge this pull |
@rinlv thanks for commits! I will do that after weekend, got urgent plans |
@charafau is this already available? I am getting Error: No named parameter with the name 'javascriptChannels' on version 0.3.8 |
Even i faced this same issue so i added this to my code base and it worked fine
|
How to use the 'JavascriptChannel' ? |
Listen javascript function from flutter
See an example here