dwyl / smart-home-security-system

Smart Home Security System
GNU General Public License v2.0
4 stars 2 forks source link

iOS NFC Capabilities #2

Open th0mas opened 4 years ago

th0mas commented 4 years ago

The easiest way for Phones to communicate with the NFC reader seems to be Host Card Emulation. The issue is, iOS can't do this.

We need to research ways of communicating with the NFC reader on iOS.

TODO:

nelsonic commented 4 years ago

@th0mas thanks for opening this issue to investigate iOS. šŸ‘ Do you have an iOS device you can work with?

In the first instance we just want the phone to be a passive NFC tag.

We might just give people an NFC Sticker for their phone to get around any limitations. šŸ’­ Also, given that we will have push notification loop for additional security, we could also use an RFID. šŸ¤” If a notification will be sent to the device then cloning the NFC/RFID chip is somewhat mitigated. šŸ”‘

th0mas commented 4 years ago

@nelsonic I don't have an NFC-enabled iOS device to test on.

Making the phone a passive NFC tag seems to be very difficult/impossible on iOS. It only seems possible to read tags but I'll try and investigate more. An NFC sticker could be a good solution.

nelsonic commented 4 years ago

Ok, let's park the iOS issue for now until we get the first "happy path" working. But definitely worth investigating further as iOS is still 30% market share in EU and 60% in our team (because devs ... šŸ¤·ā€ā™€ļø) I don't mind doing the iOS testing on one of our test devices once we have the Android case working. šŸ’­

th0mas commented 4 years ago

It seems we'll probably have to implement bluetooth beacons to get it working on iOS - it seems to be the current "go to" method.

From my research I think you can set iBeacons to only trigger when they are in a >10cm range so we could achieve feature parity with NFC

nelsonic commented 4 years ago

Yeah, BLE iBeacon seems like the way to go. šŸ‘šŸ» Iā€™m still considering the (0.15mm) NFC stickers as a stop gap though.