Set touch id to spend funds
This commit is contained in:
parent
8ff87520fe
commit
bc41495610
6 changed files with 199 additions and 97 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue