We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1f0acb7 + 0efaadc commit b1472f8Copy full SHA for b1472f8
src/ios/Fingerprint.swift
@@ -24,7 +24,7 @@ enum PluginError:Int {
24
func isAvailable(_ command: CDVInvokedUrlCommand){
25
let authenticationContext = LAContext();
26
var biometryType = "finger";
27
- let errorResponse: [AnyHashable: Any] = [
+ var errorResponse: [AnyHashable: Any] = [
28
"code": 0,
29
"message": "Not Available"
30
];
@@ -79,7 +79,7 @@ enum PluginError:Int {
79
80
func justAuthenticate(_ command: CDVInvokedUrlCommand) {
81
82
- var errorResponse: [AnyHashable: Any] = [
+ let errorResponse: [AnyHashable: Any] = [
83
"message": "Something went wrong"
84
85
var pluginResult = CDVPluginResult(status: CDVCommandStatus_ERROR, messageAs: errorResponse);
0 commit comments