getIdentityTransferConfiguration

The CapacitorJS SDK adds a tid as a URL query parameter to outgoing network requests.

Note: This functionality is enabled for iOS by default. To get this enabled for Android, you must apply the Medallia Orchestration Plugin to your project.
Get the current identity transfer configuration by calling the following:
getIdentityTransferConfiguration(): Promise<MXOResult<MXOIdentityTransferConfiguration>>

Example of usage:

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