kormax / apple-home-key-reader

Apple Home Key Reader Implementation
Apache License 2.0
552 stars 45 forks source link

[FEATURE REQUEST] Require support for Android with NFC HCE #41

Open NiravHK opened 1 day ago

NiravHK commented 1 day ago

Hi,

I've tried your code and it works seamlessly with iOS Homekey. Your efforts are much appreciated. Excellent Job. I'm trying to build an app on Native Android which can communicate with PN532 (through HCE) same way it works on iOS Homekey. but I do not have skillsets for Python.

Can you help me to understand the communication algorithm and share the steps to implement on android. So, I can create an app on Native android which can communicate to PN532 with your library.

Thanks a million in advance.

kormax commented 1 day ago

Hi,

While it's entirely possible to implement HomeKey protocol via an Android app (in fact, some groundwork was made by me in order to perform initial research of the HomeKey protocol), I don't think it is relevant anymore, as the upcoming Aliro protocol, which is based on HomeKey will work on both Apple and Android devices through native wallets. I don't think it's worth spending much time on a custom HomeKey app when this thing is on a horizon.

When Aliro protocol is released, I'm planning on deprecating this repository in favor of Aliro one. But you shouldn't worry, as it should work fine with the same hardware, as Aliro is merely a slight modification of HomeKey.

NiravHK commented 9 hours ago

Hi,

Thank you for your prompt response on this. is there any other way possible to communicate with PN532 in both platforms Android and iOS without using wallet app and direct by our own app.

is there anyway can access lock by multiple person's device.

Thanks in advance.