Get the Version Code of the Android/iOS build from app settings and store it one variable as declared. Based on the given build type the code value will be shown. And later the user can display/use the portrayed code in the app pages.
Smartcode
GetAppVersionCode(variablename)
Parameters
variablename(Required) – Name of the variable to store the version code
Example
GetAppVersionCode(‘Getversiono’)
Directcode
Syntax
Orefuncs.getAppVersionCode
Parameters
variablename(Required) – Name of the variable to store the version code
Example
var AppVersionCd = await Orefuncs.getAppVersionCode();