[AC-5753] Android: Ti.Platform.username parity
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | n/a |
Status | Resolved |
Resolution | Not Our Bug |
Resolution Date | 2018-05-29T18:04:28.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | Ti.Platform, android |
Reporter | Kerberos |
Assignee | Shak Hossain |
Created | 2018-05-29T08:37:12.000+0000 |
Updated | 2018-05-29T18:04:29.000+0000 |
Description
Ti.Platform.username always returns similar strings like *jenkins, dpi test, cm* etc.. But iOS retrieve correct user name.
It's actually what
droid.os.Build.USER
returns, so it's the native behavior. If you know a better API, we are open for discussion!Actually I do not have so information about native Android SDK. Thank you for your interest.
Let me resolve this ticket then. As an alternative, you can check for the
Ti.Platform.model
which returns the actual device model name.