step-2: then I can call verifyFingerprint(...) or verifyFingerprintWithCustomPasswordFallback(...)
-> successCB -> goto step-4
-> errorCB -> goto step-5
step-3: user not activated touchid or something happen -> finished. ❌
step-4: then all was ok -> finished ✅
step-5: if verifyFingerprint, then show error -> finished. ❌
Questions:
1) if verifyFingerprintWithCustomPasswordFallback in step-5 has error and error code eq -2, then should I call verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel now?
2) the main different between verifyFingerprint and verifyFingerprintWithCustomPasswordFallback by showing different labels in touch-dialog?
Hallo @ajcrites, @EddyVerbruggen,
can you please describe a little bit more to the flow, which we should do by using this plugin.
step-1: I call
window.plugins.touchid.isAvailable()
-> successCB -> goto step-2 -> errorCB -> goto step-3step-2: then I can call
verifyFingerprint(...)
orverifyFingerprintWithCustomPasswordFallback(...)
-> successCB -> goto step-4 -> errorCB -> goto step-5step-3: user not activated touchid or something happen -> finished. ❌
step-4: then all was ok -> finished ✅
step-5: if
verifyFingerprint
, then show error -> finished. ❌Questions: 1) if
verifyFingerprintWithCustomPasswordFallback
in step-5 has error and error code eq -2, then should I callverifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel
now? 2) the main different betweenverifyFingerprint
andverifyFingerprintWithCustomPasswordFallback
by showing different labels in touch-dialog?or I understand incorrect?