[TIMOB-14340] iOS7: Localhost prefix from file:// path has been removed
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2013-07-19T20:54:23.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2013 Sprint 15 API, 2013 Sprint 15, Release 3.2.0 |
Components | iOS |
Labels | ios7, triage |
Reporter | Ian Tearle |
Assignee | Ingo Muschenetz |
Created | 2013-06-21T09:26:41.000+0000 |
Updated | 2017-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.
This is really important, it breaks all the apps that have any kind of functionality that implies the filesystem.
Closing ticket as duplicate of the ticket that is mentioned above and has since been closed.