authpass / biometric_storage

Flutter plugin to store data behind biometric authentication (ie. fingerprint)
https://pub.dev/packages/biometric_storage
MIT License
177 stars 104 forks source link

Question - android prompt #37

Closed itaishalom closed 3 years ago

itaishalom commented 3 years ago

Hi, is it possible to move the fingerprint prompt to the center of the screen like in the image attached? Can we style the prompt? Screenshot_20210824-223626

hpoul commented 3 years ago

the biometric prompt is provided by the system. Which incidentially, looks exactly like that 🤦‍♂️

Screenshot_20210824-215507

Androrier commented 3 years ago

In my phone it looks like this: WhatsApp Image 2021-08-25 at 12 47 23

hpoul commented 3 years ago

It is provided by the system. Ie it depends on the system implementation.

Androrier commented 3 years ago

Hi, this is not entirely true, on the same phone i got 2 different prompts

Androrier commented 3 years ago

For example: (The one with the prompt down is yours..) 20210825_133557 20210825_133613

hpoul commented 3 years ago

https://developer.android.com/about/versions/pie/android-9.0#biometric-auth

In Android 9, the system provides biometric authentication dialogs on behalf of your app. This functionality creates a standardized look, feel, and placement for the dialog, giving users more confidence that they're authenticating against a trusted biometric credential checker.

No it is not possible. If you want to use a deprecated api feel free to use another plugin.