It returns the Client-side information requested through the parameter 'tag'.
|
Syntax:
|
ClientGetAppInfo(tag: String)
|
Parameters:
|
tag: Information about the application to return
|
Returns:
|
the required information.
|
Example:
|
ClientGetAppInfo(tag)
For Android application development, the file setting.properties contains the following tags:
For iOS application development, the file info.plist contains the following tags:
-
Bundle Version : 1.0 --- (CfBundleVersion)
-
Bundle Version string, short : 1.0-- (CFBundleShortVersionString)
-
Bundle identifier : com.pdac.unipaas -- (CFBundleIdentifier)
Whatever values given here would be returned.
|
Note:
|
This Client-side function is available only in Rich Client tasks.
|
Platform specific:
|
On mobile devices, the following predefined keys can be used to return application information:
-
ClientGetAppInfo('app-version-code') – returns the executing application's version code.
-
ClientGetAppInfo('app-version-name') – returns the executing application's version name.
-
ClientGetAppInfo('app-id') – returns the bundle.identifier for iOS and package.name for Android.
-
ClientGetAppInfo('app-magic-version') – returns the RIA client version number.
For Mobile and Desktop devices, the following tags are supported:
Since version: 3.3e and 4.6 (not available in any version between 4.0 and 4.5a, including both).
|
See also:
|
The Rich Client Samples project (REL14b)
|