From f5193880feed444343b2333516c8dc10fdb16fd8 Mon Sep 17 00:00:00 2001 From: Adam Wushensky Date: Mon, 17 Jan 2022 12:21:00 -0500 Subject: [PATCH 1/2] Support multiple invocations of enter manually --- ios/RNCardVerify.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ios/RNCardVerify.swift b/ios/RNCardVerify.swift index 4cc70ec..3fdde7c 100644 --- a/ios/RNCardVerify.swift +++ b/ios/RNCardVerify.swift @@ -166,6 +166,8 @@ extension RNCardVerify: VerifyCardAddResult { if let resolve = resolve { resolve(["action": "skipped"]) } + + resolve = nil; } func fraudModelResultsVerifyCardAdd(viewController: UIViewController, creditCard: CreditCard, encryptedPayload: String?, extraData: [String: Any]) { From aa76c125b0c052f454f37e37c9bd43f8c830eb22 Mon Sep 17 00:00:00 2001 From: Adam Wushensky Date: Wed, 19 Jan 2022 10:25:13 -0500 Subject: [PATCH 2/2] Remove the ; --- ios/RNCardVerify.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/RNCardVerify.swift b/ios/RNCardVerify.swift index 3fdde7c..98cdbda 100644 --- a/ios/RNCardVerify.swift +++ b/ios/RNCardVerify.swift @@ -167,7 +167,7 @@ extension RNCardVerify: VerifyCardAddResult { resolve(["action": "skipped"]) } - resolve = nil; + resolve = nil } func fraudModelResultsVerifyCardAdd(viewController: UIViewController, creditCard: CreditCard, encryptedPayload: String?, extraData: [String: Any]) {