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

VKPinCodeView crashes if I paste in text longer than my PIN length #12

Open
andreasamygdala opened this issue Sep 15, 2020 · 2 comments

Comments

@andreasamygdala
Copy link

*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** __boundsFail: index 20 beyond bounds [0 .. 4]'

Right here:
0x0000000101be4e73 $s13VKPinCodeViewAAC10appendChar33_DE70FA91AF22EA7F25E32F03782F5828LLyySSF + 323

@Sunspension
Copy link
Owner

Sunspension commented Sep 24, 2020

@andreasamygdala Could you provide steps for reproduce?

@Sunspension Sunspension added bug Something isn't working and removed bug Something isn't working labels Sep 24, 2020
@andreasamygdala
Copy link
Author

Sure thing - it's very easy to do in simulator... Just cmd-p something when the textfield is active.

I don't have my external keyboard with me at the mo, so I can't try it on device before sometime next week. In the meantime I tried inputting text from messages containing longer-than-expected pins. That worx.

So - not sure if this is actually a thing on target device. But it's an edge case, and doesn't seem like a problem at all, without external keys.

... Oh, and thanks for your effort with this whole thing! 👏👏👏

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

No branches or pull requests

2 participants