UNPKG

cordova-plugin-webviewselector

Version:

plugin allowing developers that are using cordova-plugin-crosswalk-webview to switch dynamically between Crosswalk webview and system one

20 lines (19 loc) 1.05 kB
<?xml version="1.0" encoding="UTF-8"?> <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-webviewselector" version="0.3.2"> <name>WebViewSelector</name> <platform name="android"> <js-module src="www/WebViewSelector.js" name="WebViewSelector"> <clobbers target="cordova.plugins.WebViewSelector"/> </js-module> <config-file target="res/xml/config.xml" parent="/*"> <feature name="WebViewSelector"> <param name="android-package" value="org.apache.cordova.WebViewSelector" /> </feature> </config-file> <config-file target="AndroidManifest.xml" parent="/*"> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18"/> </config-file> <source-file src="src/android/WebViewSelector.java" target-dir="CordovaLib/src/org/apache/cordova" /> <hook src="scripts/androidWebViewSelectorHook.js" type="after_prepare" /> </platform> </plugin>