-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ios ISO15693 extended read/write commands (0x30 and 0x31) #117
Conversation
@@ -159,6 +159,26 @@ public class SwiftFlutterNfcKitPlugin: NSObject, FlutterPlugin, NFCTagReaderSess | |||
} else { | |||
result(FlutterError(code: "406", message: "No tag polled", details: nil)) | |||
} | |||
} else if call.method == "Iso15693extendedReadSingleBlock" { | |||
// var nfcvTag: NFCISO15693Tag? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove unused code comments.
README.md
Outdated
dataBlock: [0x06, 0x16, 0x00, 0x00], | ||
); | ||
|
||
// transceive is15693 0x30 command |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is15693 -> iso15693
@@ -379,6 +399,70 @@ public class SwiftFlutterNfcKitPlugin: NSObject, FlutterPlugin, NFCTagReaderSess | |||
tag = nil | |||
} | |||
|
|||
|
|||
|
|||
@available(iOS 13.0, *) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please reformat the code
///Users/yuriy/dev/flutter_nfc_kit/ios/Classes/SwiftFlutterNfcKitPlugin.swift:428:23 | ||
|
||
|
||
@available(iOS 13.0, *) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What will happen if it is not available?
result(dataBlock) | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if tag is not iso15693?
lib/flutter_nfc_kit.dart
Outdated
@@ -344,7 +376,7 @@ class FlutterNfcKit { | |||
} | |||
|
|||
/// iOS only, change currently displayed NFC reader session alert message with [message]. | |||
/// | |||
/// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to format code, please move these changes to a separate pull request.
@engeen Would you mind refining your code according to the reviewer's comments? Then I will be happy to merge your code. |
Hi, Shengqi. Yeah, There were really good comments and I hope I will find a
time to make a good contribution. But theres a lot of work, so still on
hold.
Вс, 29 окт. 2023 г. в 22:23, Shengqi Chen ***@***.***>:
… @engeen <https://github.com/engeen> Would you mind refining your code
according to the reviewer's comments? Then I will be happy to merge your
code.
—
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAFYWXI23L6QCOXYPRCTTLYBZRF7AVCNFSM6AAAAAA5S33AW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBUGEZDQMRQGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ios ISO15693 extended read/write commands (0x30 and 0x31)
ios 13.0 only available