-
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
Add support of HTTP errors #115
Add support of HTTP errors #115
Conversation
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 added some comments
@@ -3,7 +3,7 @@ | |||
android:versionCode="1" | |||
android:versionName="0.0.1"> | |||
|
|||
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="21" /> | |||
<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="23" /> |
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.
I don't think min version 23 is a great idea, since flutter support >=16
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, reverted
lib/src/base.dart
Outdated
@@ -60,6 +60,8 @@ class FlutterWebviewPlugin { | |||
/// more detail than other events | |||
Stream<WebViewStateChanged> get onStateChanged => _onStateChanged.stream; | |||
|
|||
Stream<WebViewError> get onError => _onError.stream; |
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.
Could you rename it to onHttpError
and WebViewError
to WebViewHttpError
to be more explicit ?
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.
Done!
Thanks 👍 |
No description provided.