a!isNativeMobile() Function
This function may not be compatible with all features of Appian. For details, see the Feature Compatibility section below.

Function

a!isNativeMobile()

Returns true if the interface is being viewed within the Appian for Mobile application. Returns false otherwise. Use a!isNativeMobile() when you are specifying behavior unique to a mobile app. For example, you might use a!isNativeMobile() to check for mobile browser users who are not using the Appian Mobile application and show them a redirect link to download the application.

See also:

Parameters

No parameters.

Returns

Boolean

Usage considerations

Using isNativeMobile to set site visibility

  • Do not use the a!isNativeMobile function to set site page visibility.

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Custom Record Field Expressions Incompatible
Open in Github Built: Fri, Aug 19, 2022 (02:36:04 PM)

On This Page

FEEDBACK