Possible to implement FaceID in this way?

The central feature for app idea I have implements FaceID into an in-app shooter. When the user opens the shooter, there is an icon somewhere on the screen that when the user taps it, will activate the FaceID authentication. The plan is for the shooter to snap a photo the moment authentication is successful, if successful. The photo is then used within the app.


According to https://support.apple.com/en-us/HT208108

"Within supported apps, you can enable Face ID for authentication. Apps are only notified as to whether the authentication is successful. Apps can’t access Face ID data associated with the enrolled face."


No Face ID data is being used here, successful authentication will just trigger the front facing camera to take a photo. For any devs experienced with FaceID, do you think it is possible for FaceID to be implemented in this way? As of now I've only seen FaceID used by 3rd party apps as a substitute for a password, as a method of logging into something.


Thank you!

Replies

Correct, it appears that Apple's expectation for the faceID API is that devs will only rely on it for authentication, and not as a general purpose trigger.


Apple essentially wants users to not be confused in how it is used. Quoting the HIGs:


"Face ID and Touch ID are secure, familiar authentication methods"


As always, if there are API enhancements, etc. you'd like to see in the future, feel free to file them via the Feedback Assistant, being sure to add your FA# to your thread for ref.