Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Biometrics not working on multiple instances #620

Closed
kober32 opened this issue Sep 13, 2024 · 2 comments
Closed

Biometrics not working on multiple instances #620

kober32 opened this issue Sep 13, 2024 · 2 comments
Assignees
Milestone

Comments

@kober32
Copy link
Member

kober32 commented Sep 13, 2024

On Android, when multiple instances (with different instanceId) of PowerAuthSDK are created, signing with biometrics only works on the latest instance.

This is due to the shared biometric key, which is force-recreated when the biometrics factor is turned on (or activation is removed) making any biometrics already added on other instances invalid.

We should also consider adding documentation and tests that are working with multiple instances because many nuances when working in such a setup are undocumented and unexpected by default.

Note: this is not an issue on iOS where this works correctly.

@hvge
Copy link
Member

hvge commented Sep 13, 2024

Raised bug to "critical", because it's already problematic on client's production.

@hvge
Copy link
Member

hvge commented Sep 13, 2024

The issue has to be fixed in the following release branches:

  • release/1.7.x - the latest SDK supported in React Native wrapper
  • release/1.8.x
  • release/1.9x - upcoming release still in the development

@hvge hvge added this to the 1.9.0 milestone Sep 13, 2024
hvge added a commit that referenced this issue Sep 16, 2024
hvge added a commit that referenced this issue Sep 19, 2024
hvge added a commit that referenced this issue Sep 20, 2024
hvge added a commit that referenced this issue Sep 20, 2024
hvge added a commit that referenced this issue Sep 23, 2024
Store biometry key for each PowerAuthSDK instance (1.7.x)
hvge added a commit that referenced this issue Sep 23, 2024
Store biometry key for each PowerAuthSDK instance (1.8.x)
@hvge hvge closed this as completed in ffd98b4 Sep 23, 2024
hvge added a commit that referenced this issue Sep 23, 2024
Store biometry key for each PowerAuthSDK instance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants