Skip to content

flutter webview_flutter官方插件修改其中的webview_flutter_android插件,使其支持H5图片或文件选择

License

Notifications You must be signed in to change notification settings

bg-1998/webview_flutter_android_bggod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webview_flutter_android

The Android implementation of webview_flutter.

flutter webview_flutter官方插件修改其中的webview_flutter_android插件,使其支持H5图片或文件选择

Usage

This package is endorsed, which means you can simply use webview_flutter normally. This package will be automatically included in your app when you do.

Contributing

This package uses pigeon to generate the communication layer between Flutter and the host platform (Android). The communication interface is defined in the pigeons/android_webview.dart file. After editing the communication interface regenerate the communication layer by running flutter pub run pigeon --input pigeons/android_webview.dart.

Due to flutter/flutter#97744, the generated test pigeon file needs one of its imports updated to properly work with mockito.

In test/android_webview.pigeon.dart, change

import '../lib/src/android_webview.pigeon.dart';

to

import 'package:webview_flutter_android/src/android_webview.pigeon.dart';

Besides pigeon this package also uses mockito to generate mock objects for testing purposes. To generate the mock objects run the following command:

flutter packages pub run build_runner build --delete-conflicting-outputs

If you would like to contribute to the plugin, check out our contribution guide.

About

flutter webview_flutter官方插件修改其中的webview_flutter_android插件,使其支持H5图片或文件选择

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages