@@ -1,5 +1,9 @@
# 0.1.0
+- fix Android close webview
+
+# 0.1.0
- iOS && Android:
- get cookies
- eval javascript
@@ -69,7 +69,7 @@ class WebviewManager {
}
void close(MethodCall call, MethodChannel.Result result) {
- if (View.VISIBLE == webView.getVisibility()) {
+ if (webView != null) {
ViewGroup vg = (ViewGroup) (webView.getParent());
vg.removeView(webView);
@@ -5,7 +5,7 @@ authors:
- Toufik Zitouni <toufiksapps@gmail.com>
- Pedia <kpedia@163.com>
homepage: https://github.com/dart-flitter/flutter_webview_plugin
-version: 0.1.0
+version: 0.1.0+1
flutter:
plugin: