Difference between revisions of "PHONEGAPVERSION()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
==Description== | ==Description== | ||
The PHONEGAPVERSION() function returns the PhoneGap build version as a string if the current client is a mobile device, otherwise an empty string. | The PHONEGAPVERSION() function returns the PhoneGap build version as a string if the current client is a mobile device, otherwise an empty string. | ||
+ | |||
+ | 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|Progressive Web Apps (PWA)]]. | ||
==Example== | ==Example== | ||
Line 24: | Line 26: | ||
[[Category:Lianja VFP Extensions]] | [[Category:Lianja VFP Extensions]] | ||
[[Category:VFP Function Extensions]] | [[Category:VFP Function Extensions]] | ||
− | [[Category: | + | [[Category:Lianja v2.0]] |
+ | [[Category:PhoneGap Apps]] |
Latest revision as of 11:08, 9 December 2020
Contents
Purpose
Function which can be used in .rsp pages and/or server-side procedures to determine the PhoneGap build version if the current client is a mobile device
Syntax
PHONEGAPVERSION()
See Also
ISPHONEGAP(), ISSERVER(), PHONEGAPDEVICE(), PHONEGAPPLATFORM()
Description
The PHONEGAPVERSION() function returns the PhoneGap build version as a string if the current client is a mobile device, otherwise an empty string.
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
cBuildver = phoneGapVersion() if empty(cBuildver) // not called from mobile client endcase