Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

ArrayIndexOutOfBoundsException on CardIOActivity.onRequestPermissionsResult #70

Closed
pavelshackih opened this issue Apr 22, 2016 · 3 comments

Comments

@pavelshackih
Copy link

pavelshackih commented Apr 22, 2016

Hello,
I'm getting the following error on client device:

Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0 at io.card.payment.CardIOActivity.onRequestPermissionsResult(Unknown Source) at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:6728) at android.app.Activity.dispatchActivityResult(Activity.java:6606) at android.app.ActivityThread.deliverResults(ActivityThread.java:3748) ... 9 more

Unfortunately I can't reproduce this error on my devices. But accoding google example grantResults array can be empty.

@braebot
Copy link
Member

braebot commented Apr 22, 2016

Thanks for the bug report! This easy fix will go out in the next release.

@pavelshackih
Copy link
Author

Thanks for quick response

@braebot
Copy link
Member

braebot commented Apr 22, 2016

Fixed in 5.3.4.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants