Xamarin.Forms: Add Credit/Debit Card Reader to you App with PayPal.Forms

Hello today I'll show how easily is to add a card scanner into your Xamarin.Forms(Android, iOS) app with only a few lines of code using the PayPal.Forms Library.

First at all we need to add PayPal.Forms to all of your projects(Android, iOS and PCL-Forms) by searching for "PayPal.Forms" in nuget packages manager or running next command on a nuget packages console "Install-Package PayPal.Forms"

Second on our Android app we need to add a few lines of code for permissions and features inside our "AndroidManifest.xml"

VERY IMPORTANT FOR IOS 10 IF YOU WANT TO USE THE CAMERA FEATURES
Add "NSCameraUsageDescription" into you Info.plist file. <key>NSCameraUsageDescription</key>
<string>We will use your camera to scan the credit card</string>
After this now we're able to configure PayPal.Forms init calls inside our MainActivity.cs(Android) and AppDelega…