ISPHONEGAP()

From Lianjapedia
Jump to: navigation, search

Purpose

Function which can be used in .rsp pages and/or server-side procedures to determine if the current client is a mobile device

Syntax

ISPHONEGAP()

See Also

ISSERVER(), PHONEGAPDEVICE(), PHONEGAPPLATFORM(), PHONEGAPVERSION()

Description

The ISPHONEGAP() function returns .T. (True) if the current client is a mobile device, otherwise .F. (False).

Note: PhoneGap Build of Lianja Apps was deprecated in Lianja v5.4. Instead, the Build Workspace provides the ability to configure Apps as Progressive Web Apps (PWA).

Example

if isPhoneGap()
   // called from mobile device client
endif