Until some time ago everithing worked fine.
In webview i load a Index.html with the path file:///mnt/sdcard/AppInventor/assets/
but now when testing with companion give the error net::ERR_FILE_NOT_FOUND
When in production the path file:///android_asset/
In File component, the path is like this:
aa.txt for private dir, //aa.txt for assets, /aa.txt for from sdcard,
(May be we can add a ‘#/aa.txt’ for ASD later)
This is good for users, but for Web component:
Why the user have to check if it’s in companion or sdkVersion? all theses checking should be done inside the component. and the user only need to give the url a string like “//index.html” for loading html from asset.
Kodular staff, please make the Web (and other components need to read/write) using the same phylosophy with File component.
This suggestion is also for the extension developers.