Need to get files from asset

Basically / theoretically as Boban said, but:

It’s really hard to get it working, because there are several issues with the File component:

  • Sometimes the full path and sometimes the relative is used (see blocks below)
  • WRITE permission is not queried automatically (only READ), so you have to ask manually for WRITE permission.
  • Permission granted is not triggered when the app starts for the first time, so you have to reload the screen.
  • Moreover: the File component can not access the assets with the APK (works only with companion).
1 Like