Open FarjadGov14 opened 5 months ago
@jleach This can be closed. In a previous discussion it was pointed out that react-native-keychain which is already in the wallet can be used to get the Biometry type.
A utility function could be useful, but currently there no longer any plans to submit a PR for this issue.
Description of feature / user story
A great feature to add would be to detect biometry type for Android/iOS devices, by using this below library react-native-biometrics
If we can create a service or a utility in bifold to detect Biometry type we can guide the users accordingly, a utility function that can be used in a context provider and used by wallets to enhance User experience.
A Sample code that we could use below:
This can be used across different wallets as a utility service.
Acceptance Criteria
A Hook for biometryType that can detect the device type and it can be used by other wallets as a custom hook.
Wireframes or relevant image assets / links