Set touch id to spend funds

This commit is contained in:
Gustavo Maximiliano Cortez 2015-10-07 16:17:19 -03:00
commit bc41495610
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
6 changed files with 199 additions and 97 deletions

View file

@ -57,8 +57,6 @@ angular.element(document).ready(function() {
window.location = '#/preferences';
}, false);
setTimeout(function() {
navigator.splashscreen.hide();
}, 2000);
@ -67,6 +65,11 @@ angular.element(document).ready(function() {
window.plugins.webintent.onNewIntent(handleBitcoinURI);
window.handleOpenURL = handleBitcoinURI;
window.plugins.touchid.isAvailable(
function(msg) { window.touchidAvailable = true; }, // success handler: TouchID available
function(msg) { window.touchidAvailable = false; } // error handler: no TouchID available
);
startAngular();
}, false);
} else {