Assets path during development and production
Development of the app:
Production, before packaging the app:
Returns the path to the assets. This method is useful, if you want to access files from the webviewer component stored in the assets of the app.
The method will return
- file:///android_asset/ in case the app is running after building the app as apk file
- and will return file:///mnt/sdcard/AppInventor/assets/ in case the app is running inside the companion app (development mode).