Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c0ce29702 | ||
|
|
af61b0213a | ||
|
|
31e057dc04 | ||
|
|
7548329c59 |
@@ -46,5 +46,5 @@ dependencies {
|
||||
implementation 'com.facebook.react:react-native:+'
|
||||
implementation 'org.bouncycastle:bcprov-jdk15on:1.60'
|
||||
implementation 'org.apache.commons:commons-lang3:3.9'
|
||||
implementation 'com.github.status-im.status-keycard-java:android:3.0.4'
|
||||
implementation 'com.github.status-im:status-keycard-java:test-adding-addBouncyCastleProvider-SNAPSHOT'
|
||||
}
|
||||
|
||||
@@ -199,7 +199,7 @@ class StatusKeycard: RCTEventEmitter {
|
||||
let nsError = error as NSError
|
||||
if nsError.code == 200 && nsError.domain == "NFCError" {
|
||||
self.sendEvent(withName: "keyCardOnNFCUserCancelled", body: nil)
|
||||
} else if nsError.code == 201 && nsError.domain == "NFCError" {
|
||||
} else if (nsError.code == 201 || nsError.code == 203) && (nsError.domain == "NFCError") {
|
||||
self.sendEvent(withName: "keyCardOnNFCTimeout", body: nil)
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "react-native-status-keycard",
|
||||
"homepage": "https://keycard.status.im/",
|
||||
"version": "2.5.36",
|
||||
"version": "2.5.37",
|
||||
"description": "React Native library to interact with Status Keycard using NFC connection",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user