flutter_card_scanner_latest 0.0.1 copy "flutter_card_scanner_latest: ^0.0.1" to clipboard
flutter_card_scanner_latest: ^0.0.1 copied to clipboard

outdated

A flutter project for scanning the credit cards on an iOS device which returns a json response with the details like cardholder's name and the expiry date of the card. For security reasons, we are not [...]

A Flutter plugin for iOS devices for scanning credit cards using the camera. If a device, doesn't support camera then a manual entry screen would be shown up.

This plugin uses the static CardIO library for iOS and is written in iOS native language i.e. Swift

This plugin works on latest versions of Flutter, Dart & Swift.

This plugin works only for credit cards of type AMEX, JCB, VISA, MASTER CARD & DISCOVER.

**Note: This plugin for Android is still under development, and some APIs might not be available yet.

Feedback and pull requests are welcome!**

Installation First, add flutter_card_scanner_latest as a dependency in your pubspec.yaml file.

iOS:

Add the following key to your Info.plist file, located in

NSCameraUsageDescription - Camera in Use

######Below is the how one can invoke the plugin to retrieve the response.

Request:

Map<String, dynamic> details = await FlutterCardScannerLatest.scanCard();

Response:

{ "result":"success", "body":"{"Cardholders Name":"test","expiry":"01/21"}", "responseText":"Card has been scanned successfully" }

20
likes
20
pub points
64%
popularity

Publisher

unverified uploader

A flutter project for scanning the credit cards on an iOS device which returns a json response with the details like cardholder's name and the expiry date of the card. For security reasons, we are not collecting CVV during the scan.

Homepage

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_card_scanner_latest