Is it possible to access directories other than the Corona constants (base, resource, documents, temp, and cache), within the app sandbox?
For example, the following is the Documents directory:
/var/mobile/Containers/Data/Application/<unique_id>/Documents
At the same level is the Library directory, which leads to the Caches dir:
/var/mobile/Containers/Data/Application/<unique_id>/Library/Caches/Caches
In order to use CloudKit assets I need to access this directory:
/var/mobile/Containers/Data/Application/<unique_id>/Library/Caches/CloudKit/
But as far as I can tell, system.pathForFile only accepts the Corona constant directory values. This would be an extremely easy fix from Corona’s end to allow access to this directory.
Thanks!