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 b5d38c4 + 0f3c58f commit 90ecea7Copy full SHA for 90ecea7
src/ios/Fingerprint.swift
@@ -85,7 +85,7 @@ import LocalAuthentication
85
var pluginResult = CDVPluginResult(status: CDVCommandStatus_ERROR, messageAs: errorResponse);
86
var reason = "Authentication";
87
var policy:LAPolicy = .deviceOwnerAuthentication;
88
- let data = command.arguments[0] as AnyObject?;
+ let data = command.arguments[0] as? [String: Any];
89
90
if let disableBackup = data?["disableBackup"] as! Bool? {
91
if disableBackup {
0 commit comments