Comments (6)
So what have you tried to fix it, and how exactly are you testing it?
from cordova-plugin-touch-id.
Hi Eddy,
tried adding this in my index.html
<button onclick="window.plugins.touchid.isAvailable(function(msg) {alert('ok: ' + msg)}, function(msg) {alert('not ok: ' + msg)})">Touch ID available?</button>
<button onclick="window.plugins.touchid.verifyFingerprint('Scan your fingerprint please', function(msg) {alert('ok: ' + msg)}, function(msg) {alert('not ok: ' + JSON.stringify(msg))})">Scan fingerprint</button>
also tried
window.plugins.touchid.isAvailable(
function() {alert('available!')}, // success handler: TouchID available
function(msg) {alert('not available, message: ' + msg)} // error handler: no TouchID available
);
on browser both examples are loading and throwing the error no touchid available, but when testing it with iPhone 6 / iOs9 no feedback at all.
from cordova-plugin-touch-id.
That first button should work fine indeed. You are including cordova.js
and run as a standalone app (not a companion app)?
from cordova-plugin-touch-id.
i am currently trying to make it work using the Phonegap development app, but also tried it after building it in build.phonegap.com
cordova.js is included on my index.html
from cordova-plugin-touch-id.
The developer app won't work as it doesn't ship with the Touch ID plugin AFAIK.
PhoneGap Build should work, but you must include the plugin in config.xml
..
from cordova-plugin-touch-id.
Thanks Eddy,
I will try this and let you know the outcome.
Edit:
Plugin worked after adding the following to the config.xml
<plugin name="cordova-plugin-touch-id" source="npm" spec="~3.2.0" />
Thanks,
from cordova-plugin-touch-id.
Related Issues (20)
- Touch ID Plugin having Issue with biometrics HOT 1
- BSF Cordova Ecosystem Crowdfunding Plan
- Add required Privacy Manifest file for iOS
- Cordova 9 not working HOT 2
- When Touch ID fails (wrong fingerprint) the passcode option does not appear. The text only shakes and shows the 'Cancel' button. HOT 4
- TouchID dialog is not displayed when updating to iOS 13.1. HOT 4
- Add typing interface (index.d.ts) in `types` folder
- Question: Flow for TouchId
- TouchId not working with ionic4
- Passcode appear only after one failed fingerprint attempt
- The method verifyFingerprint does not work
- The operation couldn't be completed(OSStatus error -25308) HOT 1
- iPhoneX FaceID prompt permission HOT 1
- FaceID dialog does not show up in rare cases HOT 1
- Questions about "resultWithStatus:CDVCommandStatus_***"
- Error [NSNull dataUsingEncoding:]: unrecognized selector sent to instance
- iOS Landscape orientation HOT 1
- feature - dismiss function
- Plugin not installed ios issue HOT 1
- .
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-touch-id.