achojoao
achojoao

Reputation: 101

Fingerprint API behavior when device is locked

I have an app which has a service that can be launch when the device is locked, and this service is launching an activity of my app (even with the device locked). In this activity, I'm using the Google Fingerprint API in order to identify the user. I've tested in two devices with Android 6.0.1 (Samsung Galaxy S6 and Google LG Nexus 5X) with different results:

My questions are:

Same service/activity/authentication workflow is working perfectly when both devices are unlocked and also when the app is in either background/foreground.

Thanks!

Upvotes: 1

Views: 680

Answers (1)

achojoao
achojoao

Reputation: 101

Introducing a delay of 1 second (with handler.postDelayed) before calling authenticate method, worked for me

Upvotes: 1

Related Questions