No Description

Hadrien Lejard 7b31532dc1 Merge pull request #10 from Mohammed90/master 8 years ago
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 years ago
example c27fa34fc7 bump version 8 years ago
ios d06a18ca31 FIX: trigger onDestroy and hide topBar in fullScree mode 8 years ago
lib 88ab2382b4 0.0.5 8 years ago
.analysis_options f2b4436fa9 doc 8 years ago
.gitignore 4e3488bc16 iOS web view plugin 8 years ago
CHANGELOG.md 88ab2382b4 0.0.5 8 years ago
LICENSE feb642eaf0 first commit 8 years ago
README.md af95856495 example in README 8 years ago
flutter_webview_plugin.iml feb642eaf0 first commit 8 years ago
pubspec.yaml 88ab2382b4 0.0.5 8 years ago

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