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

Provide the API with an asynchronous methods #16

Open
BartoszKlonowski opened this issue Oct 12, 2021 · 0 comments
Open

Provide the API with an asynchronous methods #16

BartoszKlonowski opened this issue Oct 12, 2021 · 0 comments
Assignees
Labels
biometric Related to Fingerprint and/or Face Recognition functionality enhancement New feature or request

Comments

@BartoszKlonowski
Copy link
Owner

The goal of this task is to extend the JS API with the access to the asynchronous API on the native side.

The thing is that all calls to the native side of UWP implementation is based on Promises, but they refer to the synchronous Windows OS implementation under the hood. The native API of SignInNativeModule already supports the asynchronous call to Windows OS, but to make it work it is necessary to design the fetch of results of these calls.


The solution would be to:

  • implement the Events which would send the Promise of a scan/device status value
  • fire those events on each change of these values, or launch them on user's demand.
@BartoszKlonowski BartoszKlonowski added enhancement New feature or request biometric Related to Fingerprint and/or Face Recognition functionality labels Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
biometric Related to Fingerprint and/or Face Recognition functionality enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant