getVersion

Get the current version of the Capacitor SDK by calling the following:
getVersion(): Promise<MXOResult<string>>

Example of usage:

MedalliaMXO.getVersion()
	.then(mxoResult => {
		if (mxoResult.value && mxoResult.value.apiName) {
			// error case
			console.error(mxoResult.value)
		} else {
			// success case
			console.log("Version: ", mxoResult.value)
		}
	})
	.catch(error => {
                console.error(error)
	})
try {
	const {value} = await MedalliaMXO.getversion()
        if (value && value.apiName) {
            	// error case
            	console.error(value)
        } else {
            	// success case
            	console.log("Version:", value)
        }
} catch (error) {
        console.error(error)
}