icon

Mobile Browser Device Recognition Provider

icon
Luiz Fernando Severnini
Data Modeling & Business Logic
Description
This plugin uses regular expression rules over UA strings to detect devices. Generally the only info you need to know if is mobile browser and if is a tablet, that is what this plugin tries to detect.

The drawback of this approach is that is not possible to retrieve detailed features of the devices, but is an alternative to a repository-type plugin (such as wurfl).

Required Java version: 6

For Liferay EE 6.1 GA2 in clustered environment, to avoid "java.lang.ClassNotFoundException: br.com.severnini.portal.mobile.device.MobileBrowserDevice" add following lines to portal-ext.properties, and uncomment "mobilebrowser.device.action.enabled" and "servlet.service.events.pre":

#
# Mobile browser device recognition provider
#
#
# Set this property to true to use
# br.com.severnini.portal.events.action.MobileBrowserDeviceServicePreAction
# in portal.properties "servlet.service.events.pre" property.
# Also, disable com.liferay.portal.events.DeviceServicePreAction.
# See the property
# portal.properties "servlet.service.events.pre" for detailed configuration.
#
#mobilebrowser.device.action.enabled=true

#Override Liferay's default
#servlet.service.events.pre=com.liferay.portal.events.ServicePreAction,com.liferay.portal.events.ThemeServicePreAction
Liferay is trademark of Liferay, Inc., Liferay International Limited and/or Liferay Affiliate, registered in the United States and/or other countries.
Release Summary and Release Notes
Version Change Log Supported Framework Versions Date Added
1.1 -Fix java.lang.ClassNotFoundException: br.com.severnini.portal.mobile.device.MobileBrowserDevice in clustered environments for Liferay 6.1x version -Remove caching capabilities from device recognition provider class
Liferay Portal 6.1 EE GA2+
Liferay Portal 6.2 CE GA1+
Liferay Portal 6.2 EE GA1+
Liferay Portal 6.1 CE GA3+
2016-05-06
1.0
Liferay Portal 6.1 CE GA3+
Liferay Portal 6.1 EE GA2+
Liferay Portal 6.2 CE GA1+
Liferay Portal 6.2 EE GA1+
2016-03-17
DEVELOPER
Luiz Fernando Severnini
Published Date
Version
1.1
Supported Versions
6.2, 6.1
Edition
EE, CE
Price
Free
SHARE LINK

Installation Instructions

This is a Legacy App that is no longer available in the new App Marketplace. You are able to acquire it from your installed DXP or CE instance and install it by following the instructions below.

Acquiring this App through the legacy Liferay Portal Store

  1. Review app documentation for any specific installation instructions.
  2. Login to your Liferay Portal instance with administrative permissions.
  3. Navigate to the Control Panel, Marketplace (or Apps for 7.3 and prior), then Store.
  4. If needed, login to your Liferay.com account by choosing Sign In.
  5. Search for the app name in the Search dialog.
  6. Once the app is found, click on the app in the search results.
  7. On the app details page, choose to acquire the app by selecting the Free, Buy, or Trial button.
  8. Follow the instructions on the screen to complete the acquisition.

Installing this App through legacy Liferay Portal Purchased Apps

  1. After acquiring the app, login to your Liferay Portal instance with administrative permissions.
  2. Navigate to the Control Panel, Marketplace (or Apps for 7.3 and prior), then Purchased.
  3. If needed, login to your Liferay.com account by choosing Sign In.
  4. Click the Install button to install your app on your Liferay Portal instance.

See the legacy App Marketplace help documentation for more information.