card-io / card.io-Cordova-Plugin

card.io Cordova Plugin
Other
174 stars 146 forks source link

suppressConfirmation bug on Android #63

Open all43 opened 7 years ago

all43 commented 7 years ago

General information

Issue description

If suppressConfirmation configuration option is set to true scan result will fail with error code 13274388 returned (fail callback). No such problem with iOS, only on Android.

coltcook commented 7 years ago

It's because in the onActivityResult method it's only checking if the resultCode is RESULT_CARD_INFO, it needs to also check if it's RESULT_CONFIRMATION_SUPPRESSED.

Considering how old some of the outstanding PR's are, I don't have a lot of faith in this getting resolved any time soon.