Android Web-View : Inject local Javascript file to Remote Webpage
There is a way to ‘force’ the injection of your local Javascript files from local assets (e.g., assets/js/script.js), and to circumvent the ‘Not allowed to load local resource : file:///android_assets/js/script.js …’ issue. It is similar to what described in another thread (Android webview, loading javascript file in assets folder), with additional BASE64 encoding/decoding for representing … Read more