Device Detection Fails With Android Kitkat

(Doc ID 1614457.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.1 and later
Information in this document applies to any platform.

Symptoms

WebCenter does not detect Devices as "mobile", they are identified always as "desktopBrowser" (as a PC).

How To Reproduce:

  1. In a custom Page Templates for mobile devices under WebCenter Portal, there is a Page Template for tablet and another different for smartphones.
  2. Look under Device configuration on WebCenter Portal (Spaces) and see that the "user-agent" string, for detection uses "Android 4.1" string.
    Devices defined are "Nexus 10" and "Nexus 5" both of them updated to Android Kitkat (4.4).
  3. Modify the string detection of user-agent to just "*.Nexus 10*."
    The Portal still recognizes it as "desktopBrowser".
    Using this JSF fragment as help to view how each device is detected http://docs.oracle.com/cd/E29542_01/webcenter.1111/e27738/wcadm_mobile.htm#BABCFEDI didn't help.
  4. The problem is that the "user-agent" detection is not working.
    There are 3 different Page templates, 3 skins, one for PC, other for tablet, and the last one for smartphone, have been defined.
    Then a space has been set, to change the PageTemplate and Skin dependent of the device.
    But when login with the tablet or the smartphone, the PC template is always applied, this is because the devices are detected as "desktopBrower" (as a PC).

Trying also to modify the user-agent string detection parameter under "Devices" configuration, it does not work.


Changes

 When the PS7 version (11.1.1.8.1) was released, the user-agent for Google Nexus devices was "Android 4.1..." right now, Android user-agent of v4.4 (user-agent "Android 4.4...).

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms