I am trying to add biometric authentication to my ...
# androidx
j
I am trying to add biometric authentication to my Compose app, but the instructions here are dated, as they use 'startActivityForResult' which is deprecated. It seems I will need to add a lot of code to my MainActivity before I call my first compose UI element. For this project I only need to go down to display the login prompt. For another I needed to do more, including encrypting a secret key but I abandoned that as it got too messy, and I didn't want to go back to using Fragments. Is there updated documentation somewhere? https://developer.android.com/training/sign-in/biometric-auth