[TIMOB-7084] Ti API: Ti.Filesystem.File.getParent returns incompatible types in iOS, Android
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2017-06-07T22:43:51.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | TiAPI |
| Labels | parity, tbs-2.1.0 |
| Reporter | Arthur Evans |
| Assignee | Ingo Muschenetz |
| Created | 2012-01-10T17:14:30.000+0000 |
| Updated | 2017-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.
Closing ticket due to the time passed and lack of progress.