Нет описания

Mohammed Al Sahaf 30b269d5e5 Enable going back in history with backpress on Android if history is available; otherwise, destroy the webview activity. The user is still able to immediately leave the webview with the button present on the top left corner. 8 лет назад
android 30b269d5e5 Enable going back in history with backpress on Android if history is available; otherwise, destroy the webview activity. The user is still able to immediately leave the webview with the button present on the top left corner. 8 лет назад
example c27fa34fc7 bump version 8 лет назад
ios d06a18ca31 FIX: trigger onDestroy and hide topBar in fullScree mode 8 лет назад
lib 88ab2382b4 0.0.5 8 лет назад
.analysis_options f2b4436fa9 doc 8 лет назад
.gitignore 4e3488bc16 iOS web view plugin 8 лет назад
CHANGELOG.md 88ab2382b4 0.0.5 8 лет назад
LICENSE feb642eaf0 first commit 8 лет назад
README.md af95856495 example in README 8 лет назад
flutter_webview_plugin.iml feb642eaf0 first commit 8 лет назад
pubspec.yaml 88ab2382b4 0.0.5 8 лет назад

README.md

flutter_webview_plugin

Plugin that allow Flutter to communicate with a native Webview.

For Android, it will launch a new Activity inside the App with the Webview inside. Does not allow to integrate a Webview inside a Flutter Widget

For IOS, it will launch a new UIViewController inside the App with the UIWebView inside. Does not allow to integrate a Webview inside a Flutter Widget

  • Android
  • IOS

Getting Started

For help getting started with Flutter, view our online documentation.

Dart

var flutterWebviewPlugin = new FlutterWebviewPlugin();

flutterWebviewPlugin.launch("https://flutter.io");
await flutterWebviewPlugin.onDestroy.first;

Android

Add the Activity to you AndroidManifest.xml

<activity android:name="com.flutter_webview_plugin.WebviewActivity"
                  android:parentActivityName=".MainActivity"/>

IOS

No extra configuration is needed