Skip to content

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

Open

Description

@baralgin1003

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

Activity

  1. kevalpatel2106 commented on May 8, 2018

    @kevalpatel2106
    Owner

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

  2. baralgin1003 commented on May 8, 2018

    @baralgin1003
    Author

    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

Metadata

Metadata

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions