To use facematch(re-verification) use the Metadata builder method identityId like in the example below:

val metadata = Metadata.Builder()
                .identityId("YOUR_IDENTITY_ID")
                .build()
                
val button = findViewById<MetamapButton>(R.id.metamapButton)
button.setParams(this, "YOUR_CLIENT_ID", "YOUR_FLOW_ID", metadata);
Metadata metadata = new Metadata.Builder()
                .identityId("YOUR_IDENTITY_ID")
                .build();

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

Learn more about Facematch feature here.


What’s Next

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