Skip to content

Conversation

@JSUYA
Copy link
Member

@JSUYA JSUYA commented Mar 23, 2023

Apply the changed interface from webview_flutter v4.0.2.

Related issue : #545

@JSUYA JSUYA force-pushed the dev/webview_lwe_v4 branch 2 times, most recently from 8ed9554 to e0f6d79 Compare March 23, 2023 05:16
Copy link
Member

@swift-kim swift-kim left a 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?

JSUYA added 4 commits March 28, 2023 09:43
"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.
@JSUYA
Copy link
Member Author

JSUYA commented Mar 28, 2023

Looks good to me. Have you run integration tests manually?

I removed unnecessary tests from the integration test. and there is an additional patch related to this fix. fbd2287 , 0546568
I will soon make a PR that fixes webview_flutter_tizen's integration_test.

Comment on lines +325 to +329
_onWebResourceError!(LweWebResourceError._(
errorCode: arguments['errorCode']! as int,
description: arguments['description']! as String,
failingUrl: arguments['failingUrl']! as String,
isForMainFrame: true,
Copy link
Member

@swift-kim swift-kim Mar 28, 2023

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.

Copy link
Member Author

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.

@swift-kim swift-kim merged commit cbe946b into flutter-tizen:master Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants