Skip to content

Provide the API with an asynchronous methods #16

@BartoszKlonowski

Description

@BartoszKlonowski

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.

Metadata

Metadata

Labels

biometricRelated to Fingerprint and/or Face Recognition functionalityenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions