/o//commerce-media/accounts/-1/images/18522754?download=true

Simpler Device Recognition Provider
Icon
DXP App
18522701
This plugin uses simple rules over UA Strings to detect devices. Rules are declared in portlet.properties.
With it you can use the mobiles rules provided by Liferay to adapt theme, layout template, redirect, etc.
It is intended as an alternative to a repository-type plugin (such as wurfl), considering it is much easier to maintain a small set of rules than a complete repository of any possible device in the world.

This plugin uses simple rules over "User-Agent" Strings to detect devices.
Most of the time you only want to know which OS you are on, and if it is a tablet: the rules set are designed this way.

You can customize and adapt your device detection to your needs:
Rules are declared in portlet.properties, the file is documented.
A simple set of rules is provided; you are free to complete it with the way you like.
If you need to, you can focus on a precise device type by creating a new group of rules over a precise UA match.
You can now support rooted smartphones or tablets, or even unknown and upcoming devices that are not yet supported by other providers !

Be aware that the drawback of this approach is that you can not retrieve detailed features of the devices, such as screen size, presence of a keyboard, etc. Only infos in "User-Agent" header will ever be useable.
DEVELOPER
Nicolas GRUE
DEVELOPER
6/18/15 12:00 AM
Published date
June 18, 2015
Published Date
6/18/15 12:00 AM
SUPPORTED OFFERINGS
Self-Hosted, Self-Managed
Supported Versions
6.2, 6.1
Resource Requirements
Edition
CE, EE
PRICE
Free
help & support
Terms & Conditions
SHARE LINK
Copy & Share Link

HTML Example

A paragraph is a self-contained unit of a discourse in writing dealing with a particular point or idea. Paragraphs are usually an expected part of formal writing, used to organize longer prose.