Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
387db9a10e | ||
|
|
849ebb71ae | ||
|
|
9c5b897991 |
@@ -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:android:3.1.1'
|
||||
}
|
||||
|
||||
+11
-1
@@ -9,8 +9,18 @@ class StatusKeycard: RCTEventEmitter {
|
||||
var cardChannel: CardChannel? = nil
|
||||
var nfcStartPrompt: String = "Hold your iPhone near a Status Keycard."
|
||||
|
||||
private var _keycardController: Any? = nil
|
||||
|
||||
@available(iOS 13.0, *)
|
||||
private(set) lazy var keycardController: KeycardController? = nil
|
||||
private var keycardController: KeycardController? {
|
||||
get {
|
||||
return _keycardController as? KeycardController
|
||||
}
|
||||
|
||||
set(kc) {
|
||||
_keycardController = kc
|
||||
}
|
||||
}
|
||||
|
||||
@objc
|
||||
func nfcIsSupported(_ resolve: RCTPromiseResolveBlock, reject: RCTPromiseRejectBlock) -> Void {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "react-native-status-keycard",
|
||||
"homepage": "https://keycard.status.im/",
|
||||
"version": "2.5.37",
|
||||
"version": "2.5.39",
|
||||
"description": "React Native library to interact with Status Keycard using NFC connection",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user