SDK Initialization for Face Liveliness (React Native)
Use this guide to initialize the Face Liveliness SDK in your React Native application
<IdentityKyc
configId="CONFIG-ID"
widgetKey="WIDGET-ID"
metadata={{
user_id: 'user_123',
email: '[email protected]'
metadata: {
compare_image: 'BASE64 || DIRECT-IMAGE-URL'
}
}}
onComplete={(data) => console.log('✅ Success:', data)}
onError={(error) => console.error('❌ Error:', error)}
buttonText="Verify Identity"
/>
Updated about 2 hours ago
