Skip to content

Commit

Permalink
docs(cardio): update docs (#1858)
Browse files Browse the repository at this point in the history
Added iOS10 permission message and corrected requireCVV use
  • Loading branch information
davorpeic authored and ihadeed committed Aug 23, 2017
1 parent 35d317f commit 39ef066
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/@ionic-native/plugins/card-io/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 <your app name>Info.plist file. Add the following lines in the main <dict> element.
* ```xml
*<key>NSCameraUsageDescription</key>
*<string>To scan credit cards.</string>
*```
* ```typescript
* import { CardIO } from '@ionic-native/card-io';
*
Expand All @@ -147,7 +152,7 @@ export interface CardIOResponse {
* if(res){
* let options = {
* requireExpiry: true,
* requireCCV: false,
* requireCVV: false,
* requirePostalCode: false
* };
* CardIO.scan(options);
Expand Down

0 comments on commit 39ef066

Please sign in to comment.