sparrowcode / PermissionsKit

Universal API for request permission and get its statuses.
https://x.com/sparrowcode_ios
MIT License
5.66k stars 462 forks source link

FaceId permissions #161

Closed aididhaiqal closed 4 years ago

aididhaiqal commented 4 years ago

Hi, is there any way to request permission for faceID?

ivanvorobei commented 4 years ago

Good day. Thanks for contact. I am try add it.

ghost commented 4 years ago

Hello sir. First Thanks for all your beautifull work ;D there is any update about the FaceID/TouchID permission ? I’m excited to use it and i’m sure there is a lot of people too :)

furiosFast commented 4 years ago

Hello, I also join in to find out if there is any news about it. thank you

ivanvorobei commented 4 years ago

Hi, community!

I check Face ID permission and can say - it not similar to location of camera. It other concept. Apple thave many way to evaluate policy and if declined FaceID, system try request passcode auth (for passcode no need permission).

Apple want use policy before it need, you need call simple func: context.evaluatePolicy() That include request and conformation process. You simple get result it in completion.

No way request permission inly for FaceID and use it later.