To pass some metadata to the verification use the Metadata builder method additionalData providing key value pairs like in the example below:

val metadata = Metadata.Builder()
                .additionalData("key1" "value")
                .additionalData("key2" 32)
                .build()
                
val button = findViewById<MetamapButton>(R.id.metamapButton)
button.setParams(this, "YOUR_CLIENT_ID", "YOUR_FLOW_ID", metadata)
Metadata metadata = new Metadata.Builder()
                .additionalData("key1" "value")
                .additionalData("key2" 32)
                .build();

MetamapButton button = findViewById(R.id.metamapButton);
button.setParams(this, "CLIENT_ID", "YFLOW_ID", metadata);

What’s Next

Having Troubles? Please visit Troubleshoot section or check out our demo apps.