-
Notifications
You must be signed in to change notification settings - Fork 134
/
compositor.json
90 lines (90 loc) · 21.3 KB
/
compositor.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "Kerumen/react-native-awesome-card-io",
"version": "0.1.4",
"libraries": {
"xv": "^1.1.25"
},
"title": "React Native Awesome card.io",
"branch": "master",
"style": {
"name": "Material",
"componentSet": {
"nav": "nav/DarkAbsoluteNav",
"header": "header/GradientHeader",
"article": "article/BasicArticle",
"footer": "footer/BasicFooter"
},
"fontFamily": "Roboto, sans-serif",
"heading": {
"fontWeight": 500,
"letterSpacing": "-0.01em"
},
"colors": {
"text": "#212121",
"background": "#fff",
"primary": "#2196f3",
"secondary": "#1565c0",
"highlight": "#ff4081",
"border": "#e0e0e0",
"muted": "#f5f5f5"
},
"layout": {
"centered": true,
"bannerHeight": "80vh",
"maxWidth": 896
}
},
"content": [
{
"component": "nav",
"links": [
{
"href": "https://github.com/Kerumen/react-native-awesome-card-io",
"text": "GitHub"
},
{
"href": "https://npmjs.com/package/react-native-awesome-card-io",
"text": "npm"
}
]
},
{
"component": "header",
"heading": "React Native Awesome card.io",
"subhead": "A complete and cross-platform card.io component for React Native.",
"children": [
{
"component": "ui/TweetButton",
"text": "react-native-awesome-card-io: A complete and cross-platform card.io component for React Native (iOS and Android).",
"url": ""
},
{
"component": "ui/GithubButton",
"user": "Kerumen",
"repo": "react-native-awesome-card-io"
}
],
"text": "v0.8.1"
},
{
"component": "article",
"metadata": {
"source": "github.readme"
},
"html": "\n<p>A complete and <strong>cross-platform</strong> <a href=\"https://www.card.io/\">card.io</a> component for React Native.</p>\n<h2>Getting started</h2>\n<pre>$ npm install react-native-awesome-card-io --save\n$ react-native link react-native-awesome-card-io</pre><h2>Usage</h2>\n<p>This component provides an abstraction of the card.io entry points for iOS and Android.</p>\n<table>\n<thead>\n<tr>\n<th>Javascript</th>\n<th>iOS</th>\n<th>Android</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>CardIOModule</code></td>\n<td><a href=\"https://github.com/card-io/card.io-iOS-SDK#integrate-as-a-view\"><code>CardIOPaymentViewController</code></a></td>\n<td><a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html\"><code>CardIOActivity</code></a></td>\n<td>A module to launch the card.io view controller which handles everything.</td>\n</tr>\n<tr>\n<td><code>CardIOView</code></td>\n<td><a href=\"https://github.com/card-io/card.io-iOS-SDK#integrate-as-a-view-controller\"><code>CardIOView</code></a></td>\n<td>N / A</td>\n<td>Create a <code>CardIOView</code> to do card scanning only and manage everything else yourself.</td>\n</tr>\n</tbody>\n</table>\n<h3><code>CardIOView</code></h3>\n<p><em>This component is iOS-only as the card.io Android SDK does not offer this functionality.</em></p>\n<pre><span class=\"hljs-keyword\">import</span> React, { Component } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">'react'</span>;\n<span class=\"hljs-keyword\">import</span> { View } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">'react-native'</span>;\n<span class=\"hljs-keyword\">import</span> { CardIOView, CardIOUtilities } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">'react-native-awesome-card-io'</span>;\n\n<span class=\"hljs-class\"><span class=\"hljs-keyword\">class</span> <span class=\"hljs-title\">CardIOExample</span> <span class=\"hljs-keyword\">extends</span> <span class=\"hljs-title\">Component</span> </span>{\n\n componentWillMount() {\n CardIOUtilities.preload();\n }\n\n didScanCard = <span class=\"hljs-function\">(<span class=\"hljs-params\">card</span>) =></span> {\n <span class=\"hljs-comment\">// the scanned card</span>\n }\n\n render() {\n <span class=\"hljs-keyword\">return</span> (\n <span class=\"xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">View</span>></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">CardIOView</span>\n <span class=\"hljs-attr\">didScanCard</span>=<span class=\"hljs-string\">{this.didScanCard}</span>\n <span class=\"hljs-attr\">style</span>=<span class=\"hljs-string\">{{</span> <span class=\"hljs-attr\">flex:</span> <span class=\"hljs-attr\">1</span> }}\n /></span>\n <span class=\"hljs-tag\"></<span class=\"hljs-name\">View</span>></span>\n );\n }\n}</span></pre><h4>Props</h4>\n<p><code>didScanCard</code> <em>function</em> <strong>Required</strong> - This function will be called when the CardIOView completes its work and returns a <a href=\"#creditcard\">CreditCard</a>. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOViewDelegate.h#L24\">Docs</a>)</p>\n<p><code>languageOrLocale</code> <em>string</em> - The preferred language for all strings appearing in the user interface. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOView.h#L38\">Docs</a>)</p>\n<p><code>guideColor</code> <em>string</em> - Alter the card guide (bracket) color. Opaque colors recommended. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOView.h#L42\">Docs</a>)</p>\n<p><code>useCardIOLogo</code> <em>boolean</em> <code>false</code> - Set to <code>true</code> to show the card.io logo over the camera instead of the PayPal logo. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOView.h#L45\">Docs</a>)</p>\n<p><code>hideCardIOLogo</code> <em>boolean</em> <code>false</code> - Hide the PayPal or card.io logo in the scan view. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOView.h#L48\">Docs</a>)</p>\n<p><code>allowFreelyRotatingCardGuide</code> <em>boolean</em> <code>true</code> - By default, in camera view the card guide and the buttons always rotate to match the device's orientation. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOView.h#L55\">Docs</a>)</p>\n<p><code>scanInstructions</code> <em>string</em> - Set the scan instruction text. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOView.h#L59\">Docs</a>)</p>\n<p><code>scanExpiry</code> <em>string</em> <code>true</code> - Set to <code>false</code> if you don't want the camera to try to scan the card expiration. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOView.h#L79\">Docs</a>)</p>\n<p><code>scannedImageDuration</code> <em>number</em> <code>1.0</code> - How long the CardIOView will display an image of the card with the computed card number superimposed after a successful scan. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOView.h#L97\">Docs</a>)</p>\n<p><code>detectionMode</code> <em><a href=\"#constants\">CardIODetectionMode</a></em> <code>CardIODetectionModeCardImageAndNumber</code> - Set the detection mode. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOView.h#L90\">Docs</a>)</p>\n<h3><code>CardIOModule</code></h3>\n<p><em>This module abstracts the <a href=\"https://github.com/card-io/card.io-iOS-SDK#integrate-as-a-view\"><code>CardIOPaymentViewController</code></a> on iOS and the <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html\"><code>CardIOActivity</code></a> on Android.</em></p>\n<pre><span class=\"hljs-keyword\">import</span> React, { Component } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">'react'</span>;\n<span class=\"hljs-keyword\">import</span> { View, TouchableOpacity, Text, Platform } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">'react-native'</span>;\n<span class=\"hljs-keyword\">import</span> { CardIOModule, CardIOUtilities } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">'react-native-awesome-card-io'</span>;\n\n<span class=\"hljs-class\"><span class=\"hljs-keyword\">class</span> <span class=\"hljs-title\">CardIOExample</span> <span class=\"hljs-keyword\">extends</span> <span class=\"hljs-title\">Component</span> </span>{\n\n componentWillMount() {\n <span class=\"hljs-keyword\">if</span> (Platform.OS === <span class=\"hljs-string\">'ios'</span>) {\n CardIOUtilities.preload();\n }\n }\n\n scanCard() {\n CardIOModule\n .scanCard()\n .then(<span class=\"hljs-function\"><span class=\"hljs-params\">card</span> =></span> {\n <span class=\"hljs-comment\">// the scanned card</span>\n })\n .catch(<span class=\"hljs-function\"><span class=\"hljs-params\">()</span> =></span> {\n <span class=\"hljs-comment\">// the user cancelled</span>\n })\n }\n\n render() {\n <span class=\"hljs-keyword\">return</span> (\n <span class=\"xml\"><span class=\"hljs-tag\"><<span class=\"hljs-name\">View</span>></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">TouchableOpacity</span> <span class=\"hljs-attr\">onPress</span>=<span class=\"hljs-string\">{this.scanCard.bind(this)}</span>></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">Text</span>></span>Scan card!<span class=\"hljs-tag\"></<span class=\"hljs-name\">Text</span>></span>\n <span class=\"hljs-tag\"></<span class=\"hljs-name\">TouchableOpacity</span>></span>\n <span class=\"hljs-tag\"></<span class=\"hljs-name\">View</span>></span></span>\n );\n }\n}</pre><h4>Methods</h4>\n<p><code>scanCard([config])</code> -> Promise - Launch the card.io controller to manage the card scanning and get the <a href=\"#creditcard\">CreditCard</a> result in the resolved promise.</p>\n<ul>\n<li><p><code>config</code> On object with the following available keys:</p>\n<ul>\n<li><code>languageOrLocale</code> <em>string</em> - The preferred language for all strings appearing in the user interface. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L43\">iOS</a> / <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_LANGUAGE_OR_LOCALE\">Android</a>)</li>\n<li><code>guideColor</code> <em>string</em> - Alter the card guide (bracket) color. Opaque colors recommended. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L70\">iOS</a> / <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_GUIDE_COLOR\">Android</a>)</li>\n<li><code>useCardIOLogo</code> <em>boolean</em> <code>false</code> - Set to <code>true</code> to show the card.io logo over the camera view instead of the PayPal logo. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L148\">iOS</a> / <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_USE_CARDIO_LOGO\">Android</a>)</li>\n<li><code>hideCardIOLogo</code> <em>boolean</em> <code>false</code> - Hide the PayPal or card.io logo in the scan view. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L96\">iOS</a> / <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_HIDE_CARDIO_LOGO\">Android</a>)</li>\n<li><code>scanInstructions</code> <em>string</em> - Set the scan instruction text. If nil, use the default text. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L93\">iOS</a> / <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_SCAN_INSTRUCTIONS\">Android</a>)</li>\n<li><code>suppressManualEntry</code> <em>boolean</em> <code>false</code> - Set to <code>true</code> to prevent card.io from showing its "Enter Manually" button. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L163\">iOS</a> / <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_SUPPRESS_MANUAL_ENTRY\">Android</a>)</li>\n<li><code>suppressConfirmation</code> <em>boolean</em> <code>false</code> - If <code>true</code>, don't have the user confirm the scanned card, just return the results immediately. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L74\">iOS</a> / <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_SUPPRESS_CONFIRMATION\">Android</a>)</li>\n<li><code>requireExpiry</code> <em>boolean</em> <code>true</code> - Set to <code>false</code> if you don't need to collect the card expiration. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L126\">iOS</a> / <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_REQUIRE_EXPIRY\">Android</a>)</li>\n<li><code>requireCVV</code> <em>boolean</em> <code>true</code> - Set to <code>false</code> if you don't need to collect the CVV from the user. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L129\">iOS</a> / <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_REQUIRE_CVV\">Android</a>)</li>\n<li><code>requirePostalCode</code> <em>boolean</em> <code>false</code> - Set to <code>false</code> if you need to collect the billing postal code. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L132\">iOS</a> / <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_REQUIRE_POSTAL_CODE\">Android</a>)</li>\n<li><code>restrictPostalCodeToNumericOnly</code> <em>boolean</em> <code>false</code> - Set to <code>true</code> if the postal code should only collect numeric input. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L137\">iOS</a> / <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_RESTRICT_POSTAL_CODE_TO_NUMERIC_ONLY\">Android</a>)</li>\n<li><code>requireCardholderName</code> <em>boolean</em> <code>false</code> - Set to <code>true</code> if you need to collect the cardholder name. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L140\">iOS</a> / <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_REQUIRE_CARDHOLDER_NAME\">Android</a>)</li>\n<li><p><code>scanExpiry</code> <em>boolean</em> <code>true</code> - Set to <code>false</code> if you don't want the camera to try to scan the card expiration. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L145\">iOS</a> / <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_SCAN_EXPIRY\">Android</a>)</p>\n</li>\n<li><p><code>disableBlurWhenBackgrounding</code> <em>boolean</em> <code>false</code> (iOS only) - Disable the blur of the screen when the app is backgrounded. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L163\">iOS</a>)</p>\n</li>\n<li><code>keepStatusBarStyle</code> <em>boolean</em> <code>false</code> (iOS only) - If <code>true</code>, the status bar's style will be kept as whatever your app has set it to. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L48\">iOS</a>)</li>\n<li><code>detectionMode</code> <em><a href=\"#constants\">CardIODetectionMode</a></em> <code>false</code> (iOS only) - Set the detection mode. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L123\">iOS</a>)</li>\n<li><code>suppressScannedCardImage</code> <em>boolean</em> <code>false</code> (iOS only) - If <code>true</code>, instead of displaying the image of the scanned card, present the manual entry screen with the scanned card number prefilled. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L79\">iOS</a>)</li>\n<li><code>scannedImageDuration</code> <em>number</em> <code>0.1</code> (iOS only) - How long card.io will display an image of the card with the computed card number superimposed after a successful scan. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L86\">iOS</a>)</li>\n<li><p><code>allowFreelyRotatingCardGuide</code> <em>boolean</em> <code>true</code> (iOS only) - By default, in camera view the card guide and the buttons always rotate to match the device's orientation. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOPaymentViewController.h#L155\">iOS</a>)</p>\n</li>\n<li><p><code>noCamera</code> <em>boolean</em> <code>false</code> (Android only) - If set, the card will not be scanned with the camera. (<a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_NO_CAMERA\">Android</a>)</p>\n</li>\n<li><code>unblurDigits</code> <em>number</em> <code>-1</code> (Android only) - Privacy feature. How many of the Card number digits NOT to blur on the resulting image. Setting it to 4 will blur all digits except the last four. (<a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_UNBLUR_DIGITS\">Android</a>)</li>\n<li><code>usePaypalActionbarIcon</code> <em>boolean</em> <code>false</code> (Android only) - Use the PayPal icon in the ActionBar. (<a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#EXTRA_USE_PAYPAL_ACTIONBAR_ICON\">Android</a>)</li>\n</ul>\n</li>\n</ul>\n<h3>CreditCard</h3>\n<p>An object with the following keys:</p>\n<ul>\n<li><code>cardType</code> <em>string</em> - Localized card type.</li>\n<li><code>cardNumber</code> <em>string</em> - Card number.</li>\n<li><code>redactedCardNumber</code> <em>string</em> - Card number with all but the last four digits obfuscated.</li>\n<li><code>expiryMonth</code> <em>number</em> - Expiry month with january as 1 (may be 0 if expiry information was not requested).</li>\n<li><code>expiryYear</code> <em>number</em> - Expiry year (may be 0 if expiry information was not requested).</li>\n<li><code>cvv</code> <em>string</em> - Security code.</li>\n<li><code>postalCode</code> <em>string</em> - Postal code. Format is country dependent.</li>\n<li><code>scanned</code> <em>boolean</em> (iOS only) - Was the card number scanned (as opposed to entered manually)?</li>\n<li><code>cardholderName</code> <em>string</em> - Card holder name.</li>\n</ul>\n<h3>CardIOUtilities</h3>\n<h4>Methods</h4>\n<p><code>preload</code> -> void (iOS only) - The preload method prepares card.io to launch faster. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOUtilities.h#L31\">iOS</a>)</p>\n<h4>Constants</h4>\n<p><code>CAN_READ_CARD_WITH_CAMERA</code>: Boolean</p>\n<p>Determine whether this device supports camera-based card scanning. (<a href=\"https://github.com/card-io/card.io-iOS-SDK/blob/ec9a8632c9fd879537354d4b9075aa487dcebe8b/CardIO/CardIOUtilities.h#L24\">iOS</a> / <a href=\"http://card-io.github.io/card.io-Android-SDK/io/card/payment/CardIOActivity.html#canReadCardWithCamera--\">Android</a>)</p>\n<p><code>DETECTION_MODE</code>: String</p>\n<ul>\n<li><code>IMAGE_AND_NUMBER</code> (CardIODetectionModeCardImageAndNumber) - the scanner must successfully identify the card number.</li>\n<li><code>IMAGE</code> (CardIODetectionModeCardImageOnly) - don't scan the card, just detect a credit-card-shaped card.</li>\n<li><code>AUTOMATIC</code> (CardIODetectionModeAutomatic) - start as CardIODetectionModeCardImageAndNumber, but fall back to CardIODetectionModeCardImageOnly if scanning has not succeeded within a reasonable time.</li>\n</ul>\n<h2>License</h2>\n<p>MIT</p>\n"
},
{
"component": "footer",
"links": [
{
"href": "https://github.com/Kerumen/react-native-awesome-card-io",
"text": "GitHub"
},
{
"href": "https://github.com/Kerumen",
"text": "Kerumen"
}
]
}
]
}