Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14340] iOS7: Localhost prefix from file:// path has been removed

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2013-07-19T20:54:23.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 15 API, 2013 Sprint 15, Release 3.2.0
ComponentsiOS
Labelsios7, triage
ReporterIan Tearle
AssigneeIngo Muschenetz
Created2013-06-21T09:26:41.000+0000
Updated2017-03-22T20:43:27.000+0000

Description

I have successfully patched the iOS 7 file system with this fix:
-(NSString*)pathFromComponents:(NSArray*)args
{
NSString * newpath;
id first = [args objectAtIndex:0];
if ([first hasPrefix:@"file://"])
{
NSURL * fileUrl = [NSURL URLWithString:first];
newpath =[fileUrl path];
}
function in the FilesystemModule.m file iOS 7 has removed the localhost prefix from the file:// path.

Comments

  1. Dan Tamas 2013-06-21

    This is really important, it breaks all the apps that have any kind of functionality that implies the filesystem.
  2. Lee Morris 2017-03-22

    Closing ticket as duplicate of the ticket that is mentioned above and has since been closed.

JSON Source