为什么选择Android& IOS11无法通过NFC进行通信 [英] Why Android & IOS11 cannot communicate via NFC

查看:192
本文介绍了为什么选择Android& IOS11无法通过NFC进行通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前使用React Native并尝试使用 react-native-nfc-ios react-native-nfc ,这样我就可以进行跨设备通信在ios和Android之间.我发现他们无法交流,但是我认为这是由于问题更广泛(其他现有应用也无法使用).

Currently using React Native and attempting to use react-native-nfc-ios and react-native-nfc so I can have cross-device communication between ios and Android. I'm finding that they cannot communicate, however I think it's due to a broader issue (as other existing apps also don't work).

如果我在iPhone 7上下载了NFC阅读器应用程序,而在Android上下载了NFC书写器应用程序,则它们无法通信.为什么?

复制说明

  1. 在iPhone 7上打开NFC Reader
  2. 在Android的NFC写入模式下放置一些任意数据
  3. 将设备组合在一起没有效果.

不了解NFC的复杂性,作为一个临时程序员,我很难理解真正的问题是什么.

Not understanding the intricacies of NFC, it's hard for me as a casual programmer to understand what the actual problem is.

我了解到iPhone 7(及更高版本)上的IOS11支持NFC读取,并且通常来说,有卡模拟,对等和读写模式.

I understand that IOS11 on iPhone 7 (plus) supports NFC read, and generally speaking there are card emulation, peer to peer, and read write modes.

  • 他们应该不沟通吗? iPhone无法接听 Android作家.为什么会这样?
  • 卡模拟(我假设是Apple Pay)与写模式有何不同?
  • Should they not communicate? The iPhone is not able to pick up the Android writer. Why is this?
  • How does card emulation (I assume to be Apple Pay), differ from a write mode?

推荐答案

原因是因为Apple的iOS 11更新仅允许读取NFC标签(仅Apple Pay允许写入).目前,他们的软件无法像Android手机那样享受相同的乐趣,后者可以实现卡仿真,点对点以及读写器NFC的使用.因此,我们唯一的希望是等待软件更新,以最终使该现有功能可供开发人员使用.

The reason is because Apple's iOS 11 update only allows reading from NFC tags (writing is only permitted for Apple Pay). At the moment, their software does not share the same enjoyment afforded by Android phones which enable card emulation, peer-to-peer, and reader/writer NFC usage. So our only hope is to wait for a software update that will finally enable this existing feature for developers to use.

这篇关于为什么选择Android& IOS11无法通过NFC进行通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆