Device detection fails in devices with screen resolution as the only devicegroup criteria

(Doc ID 2197694.1)

Last updated on OCTOBER 31, 2016

Applies to:

Oracle WebCenter Sites - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

A new device group is created with screen dimensions as the only device group criteria. Device group lists matching devices correctly and multi device preview picks right template based on screen dimension.

But device detection fails in actual devices. Device variable is returning null value irrespective of screen size. Due to this, incorrect template variants are picked for rendering in mobile devices.

 

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