You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/15 05:41:29 UTC

[GitHub] [cordova-plugin-file] breautek edited a comment on issue #343: Can access file saved by a file manager app? (iOS)

breautek edited a comment on issue #343: Can access file saved by a file manager app? (iOS)
URL: https://github.com/apache/cordova-plugin-file/issues/343#issuecomment-554220813
 
 
   I'm not really an iOS expert but based on [cordova docs](https://github.com/apache/cordova-plugin-file#ios-file-system-layout) and [apple docs](https://developer.apple.com/library/archive/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html#//apple_ref/doc/uid/TP40010672-CH2-SW2)
   
   It appears iOS apps are sandbox and has very limiting restrictions where the filesystem APIs only give you access to your own app files. Gaining access to other files outside of your app is done through their respective frameworks (as Apple calls them). For example, to gain access to pictures, you need the camera plugin, which contains APIs to get a picture from not only the camera, but the gallery as well.
   
   Inside the core set of plugins that cordova provides, I don't think there is anything available to pick a general file or a document file outside of your app container. However, a third-party plugin such as this one may help you: https://github.com/jcesarmobile/FilePicker-Phonegap-iOS-Plugin
   
   On Android this shouldn't be a problem because apps have their own private filesystem like iOS does, but they also have access to a public filesystem as well.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org