I have an app that currently requires a user to provide a PIN code upon opening, or to unlock the app using biometrics such as face recognition or fingerprint identification.
When the app receives a push notification on iOS, it seems quite redundant however to have the user unlock the phone with FaceId and then immediately require the user to do this again to enter the app and view the notification details.
The same would presumably hold true using TouchId or Android fingerprint identification.
Is there a reasonable way that I could detect that the device was biometrically unlocked, and thus skip the redundant pin/biometric check?
Reading through what you've written I had a thought in my mind: why exactly are you pivoting around biometric unlock? For your purposes, I guess, any kind of unlock will do. Give this thread a shot Android - detect phone unlock event, not screen on