capacitor-microblink 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -160,10 +160,10 @@ public class MicroblinkPlugin extends Plugin {
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
ExtractionSettings extractionSettings = new ExtractionSettings(
|
|
163
|
-
call.getBoolean("extractIban",
|
|
163
|
+
call.getBoolean("extractIban", false),
|
|
164
164
|
call.getBoolean("extractExpiryDate", true),
|
|
165
165
|
call.getBoolean("extractOwner", true),
|
|
166
|
-
call.getBoolean("extractCvv",
|
|
166
|
+
call.getBoolean("extractCvv", false),
|
|
167
167
|
call.getBoolean("allowInvalidCardNumber", false)
|
|
168
168
|
);
|
|
169
169
|
|
|
@@ -143,10 +143,10 @@ public class MicroblinkPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
|
143
143
|
|
|
144
144
|
private func startBlinkCardScan(call: CAPPluginCall, sdk: BlinkCardSdk, presentingViewController: UIViewController) async throws {
|
|
145
145
|
let extractionSettings = ExtractionSettings(
|
|
146
|
-
extractIban: call.getBool("extractIban") ??
|
|
146
|
+
extractIban: call.getBool("extractIban") ?? false,
|
|
147
147
|
extractExpiryDate: call.getBool("extractExpiryDate") ?? true,
|
|
148
148
|
extractCardholderName: call.getBool("extractOwner") ?? true,
|
|
149
|
-
extractCvv: call.getBool("extractCvv") ??
|
|
149
|
+
extractCvv: call.getBool("extractCvv") ?? false,
|
|
150
150
|
extractInvalidCardNumber: call.getBool("allowInvalidCardNumber") ?? false
|
|
151
151
|
)
|
|
152
152
|
let scanningSettings = ScanningSettings(extractionSettings: extractionSettings)
|