[TIMOB-7407] Android: Set a user-agent for a webview
| GitHub Issue | n/a |
| Type | New Feature |
| Priority | High |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2013-04-29T18:21:51.000+0000 |
| Affected Version/s | Release 1.8.0.1, Release 2.1.3 |
| Fix Version/s | 2013 Sprint 09 |
| Components | Android |
| Labels | n/a |
| Reporter | Mauro Parra-Miranda |
| Assignee | Ping Wang |
| Created | 2012-01-25T15:35:46.000+0000 |
| Updated | 2017-03-24T18:17:31.000+0000 |
Description
PROBLEM DESCRIPTION
Some people are interested in being able to set the user-agent for the webview, just like the way we do with the HTTPClient. The usage will be similar to the HTTPClient's modification of the user-agent, but will allow more developers to connect webviews to special content, like twitter that recently doesn't allow you to create a webview of a timeline from our implementation (looks like they identify the agent as mobile, but since doesn't know which one is, it just breaks).
MORE INFO
I have seen this request often in the community.
Comments
JSON Source
This has been already implemented on Android. See the doc http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.WebView-method-setUserAgent Resolve the ticket as Invalid.
Closing ticket as invalid with reference to the above comments.