Fingerprint Manager Plugin
This plugin allows you detect registered fingerprints from the sensor on Android. Note no UI is shown, so you need to handle this yourself.
Platforms:
this plugin only works with Android 6.0+ (API 23) and UpFunctions:
fingerprintManager.sensorStatus()
(returns string) -- used to determined if device has a fingerprint and is enabled- "does not have a fingerprint sensor"
- "lock screen security not enabled in settings"
- "does not have a fingerprint registered"
- "has access"
fingerprintManager.detect(listener)
--activate fingerprint detectionlistener, event.response (string)
- "does not have a fingerprint sensor"
- "lock screen security not enabled in settings"
- "does not have a fingerprint registered"
- "fingerprint authentication succeeded"
- "fingerprint authentication failed"
- "advice for authentication:"..authencation advice here
- "error:"..error
fingerprintManager.cancel()
--cancel fingerprint detectionBuild Settings:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
settings = | |
{ | |
plugins = { | |
["plugin.fingerprintManager"] = | |
{ | |
publisherId="tech.scotth", | |
marketplaceId = "insert marketplace account ID", | |
}, | |
} | |
} |