HomeiOS Developmentios - Android preferences to permit file entry to an apps sandboxed...

ios – Android preferences to permit file entry to an apps sandboxed DOCUMENTS sub-folder?


By default, on each iOS and Android, apps can obtain recordsdata to app sub-directories; however these recordsdata are hidden from the person. The app can see and entry them, however customers can’t.

On iOS, you’ll be able to have a few of your apps sandboxed sub-directories uncovered to the person. When the right data.plist keys are utilized, these particular sub-directories will seem within the iPhones Recordsdata app beneath On My iPhone --> MyAppFolder. MyAppFolder is a symlink (alias) to the precise /apps/MyApp/Paperwork folder. And something that your app downloads into the /apps/MyApp/Paperwork folder is now seen to customers. The 2 keys required are:

<key>UIFileSharingEnabled</key>
<true/>
<key>LSSupportsOpeningDocumentsInPlace</key>
<true/>

Is something like this potential on Android? I presently am downloading recordsdata to the customers externalRootDirectory which locations recordsdata immediately into the customers common Downloads folder. However this technique relies on a number of issues that’s not assured throughout all machine varieties – as nicely, it may very well be a path/folder that Android removes entry to sooner or later.

Does Android have any preferences or strategies that enable sandboxed app folders to be uncovered to the person much like how iOS does it? In that case, what are the preferences or actions that must be utilized to make this occur?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments