From 6fdeeaf6f2a666eaea93a7220e773331543a0a12 Mon Sep 17 00:00:00 2001 From: Sabari Ferin Date: Thu, 9 Mar 2017 15:50:45 +0530 Subject: [PATCH] fix(fingerprint-aio): add useBackup property (#1158) --- src/plugins/fingerprint-aio.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/plugins/fingerprint-aio.ts b/src/plugins/fingerprint-aio.ts index dc9083bc9..852e23614 100644 --- a/src/plugins/fingerprint-aio.ts +++ b/src/plugins/fingerprint-aio.ts @@ -11,6 +11,11 @@ export interface FingerprintOptions { * Secret password. Only for android */ clientSecret?: string; + + /** + * Disable 'use backup' option. Only for android (optional) + */ + disableBackup?: boolean; } /** @@ -26,7 +31,8 @@ export interface FingerprintOptions { * * FingerprintAIO.show({ * clientId: "Fingerprint-Demo", - * clientSecret: "password" //Only necessary for Android + * clientSecret: "password", //Only necessary for Android + * disableBackup:true //Only for Android(optional) * }) * .then((result: any) => console.log(any)) * .catch((error: any) => console.log(error));