Is mobile
Rule types – Abstract
Purpose: Is 'passed' if the current browser session was classified as accessed from a mobile device when logging in by means of the userAgent string.
This rule applies precisely when the session is classified as being accessed via a mobile device.
This rule may be used, e.g. in Association criteria, to assign specific forms or other adapted configurations for 'mobile sessions'.
A session is regarded as 'mobile' if the userAgent string provided by the browser application contains clues suggesting this. This information is evaluated automatically upon login to Lobster Data Platform / Orchestration.
►NOTE◄ Many browsers provide test functionality for simulating the appearance of web content on various mobile devices or for specific screen sizes, and will generate respective userAgent strings. For testing with Lobster Data Platform / Orchestration, it is important that Is mobile rules will respond correctly if the login is renewed each time simulation mode is entered, switched or terminated.
Configuration
The Is mobile rule does not use any parameters.
Example
The following screenshots show the appearance of a login dialog in a simulation mode for mobile phones, and a custom alert which is only triggered if the Is mobile rule is passed:
|
|
Configuration
An event handler is configured as shown on the right:
|
|