From 39ef06687585bfb89de5547211c3b13d8e16981e Mon Sep 17 00:00:00 2001 From: Davor Peic Date: Wed, 23 Aug 2017 18:40:14 -0500 Subject: [PATCH] docs(cardio): update docs (#1858) Added iOS10 permission message and corrected requireCVV use --- src/@ionic-native/plugins/card-io/index.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/card-io/index.ts b/src/@ionic-native/plugins/card-io/index.ts index b59e498a6..5d96b76e5 100644 --- a/src/@ionic-native/plugins/card-io/index.ts +++ b/src/@ionic-native/plugins/card-io/index.ts @@ -133,6 +133,11 @@ export interface CardIOResponse { * @name Card IO * @description * @usage + * Note: For use with iOS 10 + When building your app with the iOS 10 SDK +, you have to add some info to the info.plist file. This is due to increased security in iOS 10. Go to your app directory and search for the Info.plist file. Add the following lines in the main element. + * ```xml + *NSCameraUsageDescription + *To scan credit cards. + *``` * ```typescript * import { CardIO } from '@ionic-native/card-io'; * @@ -147,7 +152,7 @@ export interface CardIOResponse { * if(res){ * let options = { * requireExpiry: true, - * requireCCV: false, + * requireCVV: false, * requirePostalCode: false * }; * CardIO.scan(options);