Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After a restart, the invalid password method is executed #12

Open
baralgin1003 opened this issue May 8, 2018 · 2 comments
Open

After a restart, the invalid password method is executed #12

baralgin1003 opened this issue May 8, 2018 · 2 comments
Assignees
Labels

Comments

@baralgin1003
Copy link

The first launch of the activity is normal. when I run it a second and other times, in creating an activity I get a password error, although I have not yet entered anything

@kevalpatel2106
Copy link
Owner

@baralgin1003 Can you share the screen recording of what is happening?

@kevalpatel2106 kevalpatel2106 self-assigned this May 8, 2018
@baralgin1003
Copy link
Author

baralgin1003 commented May 8, 2018

ok. I changed your code for demonstration that bug

mPinView.setAuthenticationListener(new AuthenticationListener() {
            @Override
            public void onAuthenticationSuccessful() {
                //User authenticated successfully.
                //Navigate to secure screens.
                startActivity(new Intent(PinViewActivity.this, AuthenticatedActivity.class));
                finish();
            }

            @Override
            public void onAuthenticationFailed() {
                //Calls whenever authentication is failed or user is unauthorized.
                //Do something
                Toast.makeText(PinViewActivity.this, "incorrect pin", Toast.LENGTH_SHORT).show();
            }
        });

and video https://yadi.sk/i/awEbXhvu3VXzZN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants