Biometric Authentication API
Enable fingerprint and Face ID authentication using the WebToNative JavaScript API. Add secure biometric login for Android and iOS apps.
Show Biometric option
window.WTN.Biometric.show({
prompt:"Authenticate to continue!",
callback:function(data){
/* data returns the object below
{
isSuccess: true,
secret: 'saved secret token'
}
*/
}
});import { show } from "webtonative/Biometric";
show({
prompt:"Authenticate to continue!",
callback:function(data){
/* data returns the object below
{
isSuccess: true,
secret: 'saved secret token'
}
*/
}
});

Save secret
Delete Secret
Check Status
Last updated