Giter Site home page Giter Site logo

Comments (7)

gabrielbiga avatar gabrielbiga commented on June 7, 2024

In my application the fingerprint dialog doesn't show at all in iOS 13+.

from nativescript-fingerprint-auth.

EddyVerbruggen avatar EddyVerbruggen commented on June 7, 2024

Do you experience this with the demo app in this repo as well? If not, can you share a demo? And wondering if this also happens to you with FaceID?

from nativescript-fingerprint-auth.

YoussefGheith avatar YoussefGheith commented on June 7, 2024

Hi Eddy

I tried the demo app with my iPhone 7 (Touch ID)
The demo is a little bit buggy
the Touch dialog is taking much longer and sometimes it doesn't show at all
and i have to press the button twice.

Also i'm getting this message again
Error Domain=com.apple.LocalAuthentication Code=-1004 "User interaction is required." UserInfo={BiometryType=1,

from nativescript-fingerprint-auth.

 avatar commented on June 7, 2024

Hi Eddy
I can confirm that the finger and face-id auth in the same app with iOS13 does not work correctly.
Sometimes the native dialog appears after a click sometime after 2x click or it does not appear but the authentication is active (so I can enter touching the fingerprint without seeing the dialog)

from nativescript-fingerprint-auth.

EddyVerbruggen avatar EddyVerbruggen commented on June 7, 2024

I just updated the demo. Perhaps the alerts were hampering performance. It's lightning fast for me (FaceID on iPhone 11 Pro). Can you re-clone and try again? And if there's still an issue please reopen and share a video of the problem.

from nativescript-fingerprint-auth.

 avatar commented on June 7, 2024

Hi
I think there is somewhere a problem yet, please see this video (iPad 3, iOS 13.x.x latest )

https://drive.google.com/file/d/10_ZjhV7hBPmID5iZUBmEHlLQiu-PsZAS/view?usp=drivesdk

I have made some changes in my code so you can better seeing what is happening
I click at the button -> the image background is being flashed indicating the action ,after 1.5 sec the verifyFingerprint will be called -> now the native popup should be opened but nothing happens till I reach the home button with my finger -- I tried several times and sometimes the popup is visible after the 1.5 sec delay but only very rare
....
private activateScan() {
try {
this.biometricButtonState = true;
this.biometricScanActive = true;
this.scanTimerh = setInterval(()=> {
this.biometricButtonState = !this.biometricButtonState;
},500);
setTimeout(() => {
this.verifyFingerPrint();
},isIOS ? 1500 : 0);
}catch(error) {
console.log(onBiometricStackLoaded:${error});
this.feedback.error({
message: error
})
}

this.fingerprintAuth.verifyFingerprint(
{
message: 'Scan your finger', // optional (used on both platforms) - for FaceID on iOS see the notes about NSFaceIDUsageDescription
title: 'Biometric authentication',
authenticationValidityDuration: 60, // optional (used on Android, default 5)
// fallbackMessage: 'Enter Domain Password', // optional, the button label when scanning fails (default: 'Enter password')
useCustomAndroidUI: true
})
.then((enteredPassword) => {
....

from nativescript-fingerprint-auth.

igorgiovannini avatar igorgiovannini commented on June 7, 2024

The issue is still reproducible with the latest iOS versions (iOS 13.5, 13.5.1).
Is there a workaround?

from nativescript-fingerprint-auth.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.