[TIMOB-4719] Android: Implement "file" property on Titanium.Blob
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-11-05T13:54:31.000+0000 |
Affected Version/s | Release 1.7.1 |
Fix Version/s | Sprint 2011-32, Release 1.8.0 |
Components | Android |
Labels | parity |
Reporter | Marshall Culpepper |
Assignee | Opie Cyrus |
Created | 2011-07-19T12:28:32.000+0000 |
Updated | 2011-11-05T13:54:31.000+0000 |
Description
We currently have a "nativePath" property on Titanium.Blob that returns the file's path as a file:// URL, but iOS also exposes a "path" property that returns the full path (without the URL prefix) that we need to match for parity.
UPDATE: further discussion between iOS and Android teams decided that instead of a path property, we should instead expose a "file" property that returns the File proxy that represents the blob data or return null if no valid file was found.
Upon further discussion between iOS and Android team, this should instead be a file property and return a File proxy if a valid file is found backing up the blob or null if no valid file is found.
Tested android.filesystem with version=1.8.0 timestamp=08/26/11 14:21 githash=0e2031e on Emulator 2.1 and 3.2 Passed
Standardizing summary and labels.