mirror of
https://github.com/status-im/react-native-status-keycard.git
synced 2025-02-28 12:00:36 +00:00
fixed log, success message
This commit is contained in:
parent
26e01dd0f0
commit
cd93a1fb11
@ -89,7 +89,7 @@ class SmartCard {
|
||||
let cmdSet = KeycardCommandSet(cardChannel: channel)
|
||||
let info = try ApplicationInfo(cmdSet.select().checkOK().data)
|
||||
|
||||
os_log("Card initialized? %@", info.initializedCard)
|
||||
os_log("Card initialized? %@", String(info.initializedCard))
|
||||
var cardInfo = [String: Any]()
|
||||
cardInfo["initialized?"] = info.initializedCard
|
||||
|
||||
|
@ -169,7 +169,7 @@ class StatusKeycard: RCTEventEmitter {
|
||||
@objc
|
||||
func stopNFC(_ resolve: RCTPromiseResolveBlock, reject: RCTPromiseRejectBlock) -> Void {
|
||||
if #available(iOS 13.0, *) {
|
||||
self.keycardController?.stop(errorMessage: "Success")
|
||||
self.keycardController?.stop(alertMessage: "Success")
|
||||
self.cardChannel = nil
|
||||
self.keycardController = nil
|
||||
resolve(true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user