EddyVerbruggen / nativescript-nfc

:pencil: NativeScript plugin to discover, read, and write NFC tags
MIT License
84 stars 37 forks source link

detect error for iOS #60

Open wendt88 opened 3 years ago

wendt88 commented 3 years ago

It would be nice to add a callback parameter to detect user cancellation (readerSessionInvalidationErrorUserCanceled) of the readerSession or any other error: https://developer.apple.com/documentation/corenfc/building_an_nfc_tag-reader_app#3240405 I'm new in iOS/swift, so i tried to understand the code, but had some problems with it :D