简体   繁体   中英

Flutter NFC read and write at same time

I'm using currently the nfc_in_flutter plugin for reading/writing nfc tag. I tried to do something like, first read the nfc tag then write it in the same screen, but (in Android) the native nfc reader pop up and override everything.(I mean in the next read, the native stuff coming...). So is there any solution for first read and then write without the native stuff?

好的,我找到了,本地东西进来是我的错(显然)。我停止了流......我认为这将解决所有问题。

Not very sure why the native reader pops up. But have you read this from the documentation section? Try using the write method while keeping the read stream from the package open.


The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM