-
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
evalJavascript inconsistent between Android and iOS. #126
Comments
+1 for this issue. iOS also has weird behavior like returning
|
Indeed iOS has a strange behavior on this. How do you determine if the For your function, you can use I could add it to the plugin but it does not seem to be a good solution for now. |
The problem actually has greater scope than flutter_webview_plugin. It seems that JavaScriptChannel behaves differently on these platforms. In my projects I am forced to use hacks as ones suggested above. |
the response from evalJavascript on Android is adding a set of " at the beginning and end of the returned string.
iOS response - xyz
android response - "xyz"
The text was updated successfully, but these errors were encountered: