cordova-plugin-vha-webviewsetting

This plugin allows selection of multiple images from the camera roll / gallery in a phonegap app

Usage no npm install needed!

<script type="module">
  import cordovaPluginVhaWebviewsetting from 'https://cdn.skypack.dev/cordova-plugin-vha-webviewsetting';
</script>

README

cordova-webview-setting

a plugin for general webview setting:

  • to fix viewport issue: Viewport meta tag ignored in Android 4.4 WebView
  • enable autoplay for video/audio tag, for ios, juste add this line to the config.xml: <preference name="MediaPlaybackRequiresUserAction" value="false"/>

How to use

window.plugin.webviewSetting.set(function(err,status){
   if(err){
     console.error('failed');
   }else{
     console.log('fixed')
   }
});