Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5753] Android: Ti.Platform.username parity

GitHub Issuen/a
TypeImprovement
Priorityn/a
StatusResolved
ResolutionNot Our Bug
Resolution Date2018-05-29T18:04:28.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsTi.Platform, android
ReporterKerberos
AssigneeShak Hossain
Created2018-05-29T08:37:12.000+0000
Updated2018-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.

Comments

  1. Hans Knöchel 2018-05-29

    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!
  2. Kerberos 2018-05-29

    Actually I do not have so information about native Android SDK. Thank you for your interest.
  3. Hans Knöchel 2018-05-29

    Let me resolve this ticket then. As an alternative, you can check for the Ti.Platform.model which returns the actual device model name.

JSON Source