-
Notifications
You must be signed in to change notification settings - Fork 52
[webview_flutter_lwe] Update webview_flutter_lwe to v0.2.0 #547
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
Conversation
8ed9554 to
e0f6d79
Compare
packages/webview_flutter_lwe/lib/src/tizen_webview_controller.dart
Outdated
Show resolved
Hide resolved
e0f6d79 to
42c275c
Compare
swift-kim
left a comment
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.
Looks good to me. Have you run integration tests manually?
"loadRequest with headers" - Requests with headers are not supported in LWE. "Video playback policy" - Multimedia elements are not supported in LWE. "Audio playback policy" - Multimedia elements are not supported in LWE. "target _blank opens in same window" - LWE is not supported. "clearLocalStorage" - LweWebViewController has no implementation.
| _onWebResourceError!(LweWebResourceError._( | ||
| errorCode: arguments['errorCode']! as int, | ||
| description: arguments['description']! as String, | ||
| failingUrl: arguments['failingUrl']! as String, | ||
| isForMainFrame: true, |
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.
Now that the error code to type conversion is done by the Dart class, the ErrorCodeToString function and the related logic can be removed from the C++ implementation.
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.
you are right. I removed the code. and I will remove same code on webview_flutter_tizen.
Apply the changed interface from webview_flutter v4.0.2.
Related issue : #545