File path for unzip file component

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).

To check this, here is the aia (images.zip is stored in the assets, so put it into the Download folder of your device: /storage/emulated/0/Download (Internal Storage > Download):

unzip_test.aia (3.8 MB)

I therefore strongly recommend that you use the Zip/Unzip extension and (if needed) the File extension of Taifun.

4 Likes