Skip to content
New issue

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

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

Already on GitHub? # to your account

Property does not exist on type 'AvailableOptions' and iOS target version #12

Open
epicshaggy opened this issue Apr 3, 2020 · 0 comments

Comments

@epicshaggy
Copy link

epicshaggy commented Apr 3, 2020

The example says to use
const auth = new FingerPrintAuth();
data = await auth.available();
const has = data.has;
const faceId = data.face;
const touchId = data.touch;

But these properties do not exist. The Available options interface has:

export interface AvailableOptions {
has: boolean;
faceId: boolean;
touchId: boolean;
}

When logging the result the output of faceId and touchId is undefined.

Manually editing the interface solves the problem but I have to do this every time I install my packages while building on Microsoft's App Center.

As for the IPHONEOS_DEPLOYMENT_TARGET when I install using npm it is still set to 10.0 even though it's been updated here.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant