Issue with “BiometricPrompt” parameters as it expects Fragment/FragmentActivity as the first paramter. I am using it in the ForegroundService
So basically I am trying to develop an App Lock application where the user can select which app they want to lock using Biometric stored in the device. I have already fetched the list of apps and store the package name in the shared preference once it is locked.