fix(fingerprint-aio): add useBackup property (#1158)

This commit is contained in:
Sabari Ferin 2017-03-09 15:50:45 +05:30 committed by Ibby Hadeed
parent 16ff420bfa
commit 6fdeeaf6f2

View File

@ -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));