oracle / cordova-plugin-wkwebview-file-xhr

Cordova Plugin for WebView File XHR
Universal Permissive License v1.0
138 stars 120 forks source link

This plugin makes Android give an error #72

Closed martijnmichel closed 3 years ago

martijnmichel commented 3 years ago

After having installed this plugin my app started working on iOS (loading mp3 files) but stopped working for android giving an error:

I/chromium: [INFO:CONSOLE(535)] "Fetch API cannot load file:///android_asset/www/statics/sound/piano/C6.mp3. URL scheme "file" is not supported.", source: file:///android_asset/www/js/vendor.js (535)

manish2788 commented 3 years ago

@martijnmichel This plugin is targeted to be used only on iOS platform. It is not supposed to be installed on an android app.

martijnmichel commented 3 years ago

How can I install it on iOS only?