ttlock / iOS_SDK_Demo

TTLock is a global provider of solutions for smart locks. We provide PCBA and softwares for lock manufactures and end users. We provide open API/SDK for developers. With these APIs/SDKs, you can develop your own applications to manage smart locks. The SDK here is for mobile app to communicate with locks via bluetooth.
MIT License
13 stars 12 forks source link

Unlocking Lock Using iPhone NFC without NFC Tags/Cards #27

Closed pinalpsspl closed 9 months ago

pinalpsspl commented 10 months ago

We're reaching out to request guidance and explore potential solutions regarding the integration of iPhone NFC capabilities for unlocking locks, akin to the convenience offered by Apple Pay, without necessitating the use of NFC tags or cards.

Possible solutions:

pinalpsspl commented 9 months ago

@ttlock @JuannyiOS

any update on the above query?

Adding to the above query:-

  1. Does TTLock NFC reader support this protocol - https://support.apple.com/en-in/guide/security/secbd55491ad/web ?
  2. Can you tell us what information we will need to store in the NFC payload of the pass created by Passkit and unlock the lock. For example i create pass using this payload will it work ?, here 850714397 is card number generated by ttlock SDK's addICCardWithCyclicConfig function.

{ "passTypeIdentifier": "pass.com.ttlock", "serialNumber": "850714397", "teamId": "XXXXXXXXXX", "organizationName" : "TTLock", "description": "TTLock", "foregroundColor": "rgb(255, 255, 255)", "backgroundColor": "rgb(0, 0, 0)", "nfc": { "message": "850714397" } }

JuannyiOS commented 9 months ago

sorry, apple does not open NFC functionality to all, we can not add NFC card by apple app.