card-io / card.io-Android-SDK

card.io provides fast, easy credit card scanning in mobile apps
Other
1.99k stars 535 forks source link

Incorrect card number validation #154

Closed ankudryavtsev closed 8 years ago

ankudryavtsev commented 8 years ago

Required Information

In CardIOActivity it is impossible to enter the card number not included in the switch in CardType.numberLength method, e.g. Maestro card.

braebot commented 8 years ago

Indeed, it appears that Maestro is not included in any of the proper switch statements in CardType. We'll need to make the fix there, and submit another release.

braebot commented 8 years ago

Fixed in 5.4.0.