Closed ichan-mb closed 3 years ago
This adds javascript functionality to access the biometric sensor.
<JavaScript> var Auth = require('FuseJS/Biometric'); var authenticate = function(e) { if (Auth.isBiometricSupported()) { Auth.authenticate("We need your biometric data to continue").then(function(result) { if (result.status) { // auth success } else { console.log(result.message); } }); } } module.exports = { authenticate }; </JavaScript> <Panel> <Button Text="Sign In" Alignment="Center"> <Clicked Handler="{authenticate}" /> </Button> </Panel>
This PR contains:
This adds javascript functionality to access the biometric sensor.
This PR contains: