Skip to content

Commit

Permalink
fix(fingerprint-aio): add useBackup property (#1158)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabariferin authored and ihadeed committed Mar 9, 2017
1 parent 16ff420 commit 6fdeeaf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/plugins/fingerprint-aio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ export interface FingerprintOptions {
* Secret password. Only for android
*/
clientSecret?: string;

/**
* Disable 'use backup' option. Only for android (optional)
*/
disableBackup?: boolean;
}

/**
Expand All @@ -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));
Expand Down

0 comments on commit 6fdeeaf

Please sign in to comment.