Skip to content

Conversation

@sykaeh
Copy link

@sykaeh sykaeh commented Jan 25, 2018

Updated and added new languages.

@loic425
Copy link

loic425 commented Jan 25, 2018

@sjhoeksma I need theses changes too. Can you review that soon?

@qliqdev
Copy link

qliqdev commented Jan 30, 2018

Doesn't work for me
plugin ver. 3.2.1

document.addEventListener("deviceready", 

     function () {

            if (window.plugins.touchid) {
                window.plugins.touchid.isAvailable(function () {
                    window.plugins.touchid.setLocale('ru', function () {
                        window.plugins.touchid.has('PinKey', function () {
                            //Touch ID avaialble and Password key available
                            window.plugins.touchid.verify('PinKey', $translate.instant('ATTACH_FINGER_TO_ENTER'), function (password) {
                                $scope.pins = password.split("");
                                authorize();
                            }, function (err) {
                                AppStorage.set('useBiometryToEnter', false);
                            });
                        }, function () {
                            //Touch ID available but no Password Key available
                            AppPopup.toast('ATTENTION', 'ENTER_PIN_TO_REGISTER_TOUCH_ID');
                        });
                    }, function (err) {
                        console.log(err);
                    });

                }, function (msg) {
                    //Touch ID not available
                });
            }
        });`

leopiccionia added a commit to hacklabr/cordova-plugin-keychain-touch-id that referenced this pull request Jan 14, 2021
This commit is based on sjhoeksma#30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants