nfc_in_flutter icon indicating copy to clipboard operation
nfc_in_flutter copied to clipboard

SIGABRT on CPU Thread with NFC.readNDEF() Using iOS

Open wheat-thins opened this issue 4 years ago • 1 comments

Hello all,

I am currently using my personal iOS device to test flutter NFC functions; however, I am running into an issue when NFC.readNDEF().listen() is executed. The code I am using is from the example in example/lib/main.dart.

I am using Xcode as means of debugging. The problem is that a SIGABRT occurs (signal: abort) on one of the CPU's threads as soon as the NFC.readNDEF().listen() line begins. Then, the application freezes and the debugging is halted.

Here is a view of the queue on the thread in question:

Screen Shot 2020-12-27 at 16 22 54

My device is NFC compatible, and I have followed all of the steps in the installation documentation as well.

Does anyone have any ideas as to why this occurs?

Thank you!

wheat-thins avatar Dec 27 '20 21:12 wheat-thins

@wheat-thins Hi,

99% that the issue is related to this setting: https://github.com/semlette/nfc_in_flutter#ios

mrdc avatar Apr 16 '21 14:04 mrdc