[File Plugin] iOS storage in Library vs.Documents folder issue

Forge Component
Published on 2018-10-16 by Pedro Oliveira
3 votes
Published on 2018-10-16 by Pedro Oliveira

It seems that this plugin only handles files in the Library directory of an iOS app. Users who already have files in the Documents folder of my app are not able to access those. It is important to be able to access the Documents folder, as other apps can leave intra-app documents in another app's Document/Inbox folder.

I tried to set a preference for my app through the extensibility configuration json, as documented in the Cordova plugin readme:

<preference name="iosPersistentFileLocation" value="Compatibility" />

But it seems that it gets ignored.

Anybody has a solution to this problem to access files in the iOSdocuments folder?