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

RangeError (index): Index out of range: index should be less than 32: 32 #2

Open
sparkmobi opened this issue Jan 21, 2023 · 3 comments · May be fixed by #3
Open

RangeError (index): Index out of range: index should be less than 32: 32 #2

sparkmobi opened this issue Jan 21, 2023 · 3 comments · May be fixed by #3

Comments

@sparkmobi
Copy link

sparkmobi commented Jan 21, 2023

hello

i am trying to scan google auth qr code that should import 10 accounts but it only returns 6 accounts.
i have activate the debug = true and this is what i am getting in the output

I/flutter (10411): otpParameters: {
I/flutter (10411): secret: [193, 23, 49, 69, 34, 179, 44, 34, 141, 61, 214, 140, 13, 142, 94, 113, 198,
I/flutter (10411): RangeError (index): Index out of range: index should be less than 32: 32

@mehdiwaysi
Copy link

Hello
Did you find the solution?
I have the same error

@jxstxn1
Copy link

jxstxn1 commented May 14, 2023

You can fork it or create your own copy and use base64, worked in my case

@mehdiwaysi
Copy link

Can you send me the complete codes?
The code below has an error when debug and return []

var base32 = _decodeBase32(param.secret);

@hpoul hpoul linked a pull request Jun 12, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

3 participants