Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7084] Ti API: Ti.Filesystem.File.getParent returns incompatible types in iOS, Android

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-07T22:43:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTiAPI
Labelsparity, tbs-2.1.0
ReporterArthur Evans
AssigneeIngo Muschenetz
Created2012-01-10T17:14:30.000+0000
Updated2017-06-07T22:43:51.000+0000

Description

On Android, Ti.Filesystem.File.parent is a property of type File, so getParent returns a File object. On iOS, there's no parent property, but there is a getParent method, which returns the parent's path, as a String.

Comments

  1. Lee Morris 2017-06-07

    Closing ticket due to the time passed and lack of progress.

JSON Source