webview_version 0.0.2 copy "webview_version: ^0.0.2" to clipboard
webview_version: ^0.0.2 copied to clipboard

PlatformAndroid

A flutter plugin to get webview version installed on the device.

webview_version #

This plugin allows Flutter Android apps to detect currently running webview package & version. In addition it exposes a method to open Google Play Store.

pub package

Platform Support #

Android iOS MacOS Web Linux Windows
✔️ -️ -️ -️ -️ -️

Usage #

Sample usage to check current status:

import 'package:webview_version/webview_version.dart';

String webviewVersion;
try {
_version = await WebviewVersion.getWebviewVersion;
_name = await WebviewVersion.getWebViewPackage;
webviewVersion = "$_name:$_version";
} on PlatformException {
webviewVersion = 'Failed to get webview version.';
}
2
likes
130
pub points
44%
popularity

Publisher

unverified uploader

A flutter plugin to get webview version installed on the device.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on webview_version