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
Ugrade webview_flutter to 1.0.7 for better ios error detection #104
Comments
Users of flutter_echarts mainly focus on charting. @RickVM , when implementing the autoreload, please be very careful to avoid an endless loop. |
I put the initialization method in |
what is the autoreload solution? We've been having problems with iPhones, not displaying the chart (iPhone 5 and 6) |
In my case the problem was with using charts inside |
@RickVM flutter_echarts:
git:
url: https://github.com/KoheiKanagu/flutter_echarts.git
ref: feature/onWebResourceError I'm testing this in my app, but if you want, you can try it to see if it solves the problem. I used this as a reference |
I'm still having problems with my app. |
rollback flutter to 1.20.4, everything works fine. |
Please update to v2.1.0 and try setting |
As previously mentioned in some tickets I have some buggy behaviour when loading webviews, and thus flutter_echarts in IOS.
It seems to happen more often if there's multiple webviews, the view will be loaded blank. Refreshing helps, it seems like a 'chance' for things to go wrong.
Think its related to limitations in the flutter engine and IOS which are mentioned in this issue
A workaround has been implemented in the webview plugin as of 1.0.7 here
If we upgrade to the new version we should be able to implement the workaround to detect and handle issues for ios with WebView.onWebResourceError
Might be able to work on this issue this or next week, not sure yet if we should autoreload the webview if it was terminated, or let the user handle this with a callback parameter
The text was updated successfully, but these errors were encountered: