Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23197] iOS: Ability to create file inside App's Documents or Downloads folder that can be sync/share

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsfeature, ios, iphone
ReporterWaleed Mazhar
AssigneeUnknown
Created2016-04-11T13:45:26.000+0000
Updated2018-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

Comments

  1. Sharif AbuDarda 2016-04-12

    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.
  2. Hans Knöchel 2016-04-29

    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.
  3. Rene Pot 2017-12-13

    I'm guessing this ticket can be closed as duplicate, or is there still something that can be done in Titanium?
  4. Hans Knöchel 2017-12-13

    [~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.

JSON Source