Quantcast
Viewing all articles
Browse latest Browse all 6

Xamarin Card Scan Plugin

For the last few months, I’ve been writing about how to create a binding library, as a result of this, decided to create a plugin that uses the Pay.Card binding . This plugin allows you to scan a card and get all it’s information (Holder Name, Card Number, Expiration date). 

How to setup it

  1. Install the Plugin.PayCards in your .NETStandard project and Client projects.
Image may be NSFW.
Clik here to view.

2. In your Android Project – MainActivity class, Call PayCardsRecognizerService.Initialize in OnCreate method

3. Override MainActivity OnActivityResult and call PayCardsRecognizerService.OnActivityResult

4. In your iOS project Add Camera Permission in Info.plist

Image may be NSFW.
Clik here to view.

How to use it

For more information, you can check the read me file. Check the full sample here.

Image may be NSFW.
Clik here to view.

Happy Card Scanning!

The post Xamarin Card Scan Plugin appeared first on Xamboy.


Viewing all articles
Browse latest Browse all 6

Trending Articles