[TIMOB-23197] iOS: Ability to create file inside App's Documents or Downloads folder that can be sync/share
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | feature, ios, iphone |
Reporter | Waleed Mazhar |
Assignee | Unknown |
Created | 2016-04-11T13:45:26.000+0000 |
Updated | 2018-02-28T19:55:23.000+0000 |
Description
Hello Guys,
As per Apple documentation: https://developer.apple.com/library/ios/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html#//apple_ref/doc/uid/TP40010672-CH2-SW28 app's documents folder data can be shared/sync.
As per appcelerator documentation: http://docs.appcelerator.com/platform/latest/#!/guide/Filesystem_Access_and_Storage Ti.Filesystem.applicationDataDirectory can only accessible by app itself. If a file is added in app's Documents folder using
{color:#205081}var f = Ti.Filesystem.getFile(timelogsData,'errors.log');f.write(data); {color}
It can't sync/share it is only accessible by app itself.
We need an ability to create file inside Downloads folder and/or ability to create file inside App's Documents folder that can be share/sync.
Thanks
Hello, Thanks for creating the ticket. Our engineering team will look into it. This need to be cleared by our selection committee. Please understand that the processes is time-consuming and lots of variables in play. We will let you know if and when we will be including this feature in our platform. Regards, Sharif.
The files can be accessed like natively, but what you are searching for is the way to share those, which required the share extensions functionality. That is discussed in TIMOB-17335 and requires you to create a new target that is responsible for sharing your content.
I'm guessing this ticket can be closed as duplicate, or is there still something that can be done in Titanium?
[~topener] I would revisit it, because my thought back last year was that it's about sharing content, but instead it's rather accessing it via shared directories.