Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23622] Android: Unable to set Ti.userAgent

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2016-07-14T23:22:47.000+0000
Affected Version/sRelease 5.4.0
Fix Version/sRelease 6.0.0
ComponentsAndroid
Labelsparity
ReporterChristopher Williams
AssigneeChee Kiat Ng
Created2016-07-11T19:39:53.000+0000
Updated2016-07-14T23:22:47.000+0000

Description

The documentation says that we can set Ti.userAgent: http://docs.appcelerator.com/platform/latest/#!/api/Titanium-property-userAgent Android has no setUserAgent() method, and the property is not writable.

Comments

  1. Christopher Williams 2016-07-11

    https://github.com/appcelerator/titanium-mobile-mocha-suite/blob/master/Resources/ti.test.js#L59

JSON Source