     func loadSecret(_ command: CDVInvokedUrlCommand) {
         let data  = command.arguments[0] as AnyObject?;
         var prompt = "Authentication"
-        if let description = data?["description"] as! String? {
+        if let description = data?.object(forKey: "description") as! String? {
             prompt = description;
         }
         var pluginResult: CDVPluginResult

import Foundation
import LocalAuthentication


                    biometryType = "finger";
                case .faceID:
                    biometryType = "face"
                @unknown default:
                    fatalError()
                }
            }

