[TIMOB-23622] Android: Unable to set Ti.userAgent
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Duplicate |
| Resolution Date | 2016-07-14T23:22:47.000+0000 |
| Affected Version/s | Release 5.4.0 |
| Fix Version/s | Release 6.0.0 |
| Components | Android |
| Labels | parity |
| Reporter | Christopher Williams |
| Assignee | Chee Kiat Ng |
| Created | 2016-07-11T19:39:53.000+0000 |
| Updated | 2016-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.
https://github.com/appcelerator/titanium-mobile-mocha-suite/blob/master/Resources/ti.test.js#L59