[TIMOB-7139] Ti API: Platform.availableMemory values are not consistent across platforms
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2017-07-10T22:28:50.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | TiAPI |
| Labels | parity |
| Reporter | Arthur Evans |
| Assignee | Ingo Muschenetz |
| Created | 2012-01-12T14:53:49.000+0000 |
| Updated | 2017-07-10T22:28:50.000+0000 |
Description
Doc says it returns free memory in bytes. iOS appears to return it in MB.
Android uses Runtime.freeMemory, which I believe returns bytes.
Need to decide which is right and fix the other platform.
I have just submitted APIDoc PR [1157](https://github.com/appcelerator/titanium_mobile/pull/1157) to reflect the current behavior. Please raise a new one when the behavior changes.
Closing ticket due to time passed and lack of progress for a number of years. Please open a new ticket if there are any problems.