semlette / nfc_in_flutter

Cross-platform flutter plugin for reading and writing NFC tags. Not maintained anymore - not looking for new maintainer, fork instead.
MIT License
119 stars 119 forks source link

when write on NFC iPhone 11 iOS 14.7 #94

Open adham-ashraf77 opened 3 years ago

adham-ashraf77 commented 3 years ago

[VERBOSE-2:ui_dart_state.cc(199)] Unhandled Exception: type '_TypeError' is not a subtype of type 'Exception'

0 _mapException (package:nfc_in_flutter/src/api.dart:554:10)

1 NFC.writeNDEF. (package:nfc_in_flutter/src/api.dart:189:17)

2 _rootRunUnary (dart:async/zone.dart:1362:47)

3 _CustomZone.runUnary (dart:async/zone.dart:1265:19)

4 _CustomZone.runUnaryGuarded (dart:async/zone.dart:1170:7)

5 _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:362:15)

6 _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:378:16)

7 _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280:7)

it shows me this error when writing flutter 2.2