openhab / openhab-ios

The repository of the iOS client
Eclipse Public License 2.0
189 stars 127 forks source link

[Feature Request] Face ID / Fingerprint Support #239

Open 2wyck3d opened 5 years ago

2wyck3d commented 5 years ago

Given that openHAB can control things in one's own home, I think it would be wise to integrate iOS's built in security features such as Face ID or fingerprint identification.

Two Step / Two Factor (Yubikey or the like) support down the road would be awesome as well..

Thanks for all the hard work on the app, really appreciate it!

holiday-sunrise commented 4 years ago

hi together, i missing also a security feature. What did you think about code/touchid and face id. should i implement it.

holiday-sunrise commented 4 years ago

i would use SwiftPasscodeLock as passcode view

timbms commented 4 years ago

hi together, i missing also a security feature. What did you think about code/touchid and face id. should i implement it. ...

@holiday-sunrise would be great

holiday-sunrise commented 4 years ago

SwiftPasscodeLock cant be used, will be rejected from apple.

"Your app contains features that mimic the passcode iOS interface ."

2wyck3d commented 4 years ago

It's been a long time since I worked on an iOS app but I found a few articles discussing the implementation of Face/Touch ID here:

https://developer.apple.com/documentation/localauthentication/logging_a_user_into_your_app_with_face_id_or_touch_id https://developer.apple.com/videos/play/tutorials/face-id-and-your-apps/ https://www.mindinventory.com/blog/integrate-biometric-authentication-in-iphone-apps/ https://www.hackingwithswift.com/books/ios-swiftui/using-touch-id-and-face-id-with-swiftui

ARandomGitHubUser commented 3 years ago

Any update on this? Would be a really good nice to have.

holiday-sunrise commented 3 years ago

Yes, but currently I have not enough time to develop it. Should the app have its own code or should we use system code ?

ARandomGitHubUser commented 3 years ago

I don't know anything about making iOS apps so I don't know which would be easier. Whatever is easiest for you.