You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While using Pin.unlocked() to check the status of PinDialog, it returns true even when the wrong pin was entered.
The issue can be reproduced with sdkTestApp by the following steps
navigate to "Pin" and click on "show"
enter "0000" and click "enter"
click on "unlocked" and check the status on the console.
again click on "show" and enter "1234"
go back from the PinDialog by clicking backspace
click on "unlocked" and check the status on the console.
Actual behaviour: Pin.unlocked() returns true even the wrong pin was entered Expected behaviour: Pin.unlocked() should return false when the wrong pin was entered
Hi Metro SDK Team,
While using Pin.unlocked() to check the status of PinDialog, it returns true even when the wrong pin was entered.
The issue can be reproduced with sdkTestApp by the following steps
Actual behaviour: Pin.unlocked() returns true even the wrong pin was entered
Expected behaviour: Pin.unlocked() should return false when the wrong pin was entered
Identified the issue at the below line,
https://github.com/Metrological/metrological-sdk/blob/master/src/Pin/index.js#L33
Before rejecting, the unlocked status should be updated to false as shown below.
The text was updated successfully, but these errors were encountered: