In my Android app, I have an activity that extends ComponentActivity and includes multiple Jetpack Compose composable functions. One of these composable functions is accessed by the user, and I want to show a biometric prompt for fingerprint authentication before allowing access to that particular function.
I'm facing issues because I'm using ComponentActivity, and most of the examples I found use FragmentActivity with fragments.
How can I integrate a biometric prompt into a Jetpack Compose composable function within a ComponentActivity? Is there a way to achieve this without using fragments?