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
Maybe this code could be moved at very end so it will be safe to unmount component on fails and this would also allow for user to manage pinAttemptsAsyncStorageName property in AsyncStorage on thier own
The text was updated successfully, but these errors were encountered:
Moving this at the end doesn't fix the warning.
Putting a delay in the onFail removes it so I'll keep on investigating to find what is updating the component after the onFail.
So it's because of the 'shake' animation when the user fails. It's you don't wait ~1500 ms, you get the warning.
I don't know if you need the animation or not.
I could put a 1500ms delay before firing the onFail prop, or I could remove the animation based on a new property...or something else I can't think of :p
https://github.com/fnzc/react-native-pincode/blob/master/src/PinCodeEnter.tsx#L143
Maybe this code could be moved at very end so it will be safe to unmount component on fails and this would also allow for user to manage pinAttemptsAsyncStorageName property in AsyncStorage on thier own
The text was updated successfully, but these errors were encountered: