I'm trying to run JavaScript modules in my Android WebView and while the script type="module" element is recognized in the html file, the keywords import/export in js files are not ("Unexpected token: export" error). This seems weird, is there a way to enable it? JavaScript works fine other than that. I'm using Android WebView 87.0.4280.141 on Samsung Galaxy A10, but had the same issue on Android emulator. Any ideas?
Android support has been removed from WebKit many years ago. Please report this issue to whoever maintains the branch now (perhaps Google?)