On Demand Configuration (ODC)
In order to use ODC you need to set configurationId
Using MetamapButton
MetamapButton
If you use MetamapButton
then you need to add configurationId
to setParams(...)
method
val button = findViewById<MetamapButton>(R.id.metamapButton)
button.setParams(this, "YOUR_CLIENT_ID", "YOUR_FLOW_ID", null, configurationId);
MetamapButton button = findViewById(R.id.metamapButton);
button.setParams(this, "YOUR_CLIENT_ID", "YOUR_FLOW_ID", null, configurationId, null);
Using method call
If you use Method call then you need to setconfigurationId
to the MetamapSdk.startFlow(...)
method
MetamapSdk.startFlow(this, "YOUR_CLIENT_ID", "YOUR_FLOW_ID", null, configurationId)
MetamapSdk.INSTANCE.createFlowIntent(this,"YOUR_CLIENT_ID", "YOUR_FLOW_ID", null, configurationId, null);
Learn more about ODC feature here.
Updated 12 months ago
What’s Next
Having Troubles? Please visit Troubleshoot section or check out our demo apps.