User-agent switching fails in Mobile Browser Simulator

Technote (troubleshooting)


Problem(Abstract)

In IBM Worklight Studio 5.0.5, when using the Mobile Browser Simulator to preview Android, iPhone, iPad, Blackberry, Windows Phone or Mobile Web App environments, the Firefox and Chrome user-agent switcher extensions are not working.  In Chrome, the extension has no effect.  In Firefox, having the user-agent switcher extension might prevent the tested web application from being displayed. In such cases, it is recommended to disable or uninstall the extension from Firefox.

Resolving the problem

This workaround only applies to the Chrome extension. The Chrome user-agent switcher extension will work as expected if you add the following script tag in your html file: 

<script> require([ "dojox/mobile/deviceTheme" ], function() {}); </script>

This issue is resolved in version 5.0.5.1


Cross reference information
Segment Product Component Platform Version Edition
Mobile- Speech and Enterprise Access IBM Mobile Foundation Studio AIX, HP-UX, Linux, Mac OS X, Solaris, Windows 5.0.5 Consumer, Enterprise

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Worklight
Studio

Software version:

5.0.5

Operating system(s):

AIX, HP-UX, Linux Red Hat - xSeries, Linux SUSE - xSeries, Mac OS X, Solaris, Windows

Software edition:

Consumer, Enterprise

Reference #:

1620567

Modified date:

2013-01-24

Translate my page

Machine Translation

Content navigation