【发布时间】:2020-12-25 06:07:22
【问题描述】:
我需要在flutter App中获取NFC消息,需要在OS打开App后通过标记NFC芯片。
我相信在原生 Android 或 iOS 中是可以实现的(虽然我自己没有尝试过),链接到官方文档:
https://developer.android.com/guide/topics/connectivity/nfc/nfc#obtain-info https://developer.apple.com/documentation/corenfc/adding_support_for_background_tag_reading
不过,nfc_in_flutter 或 nfc_manager 等 Flutter NFC 插件仅支持应用内 NFC 操作。
我该怎么做?
如果 Flutter 应用目前没有解决方案,我很想学习如何编写 Flutter 插件并实现它。
【问题讨论】: