Skip to content

Commit

Permalink
fix(fingerprint-aio): add missing FingerprintOptions properties (#1845)
Browse files Browse the repository at this point in the history
* docs(fingerprint-aio): add missing FingerprintOptions properties

* fix(fingerprint-aio): fix circle lint error
  • Loading branch information
joshmcrae authored and ihadeed committed Aug 23, 2017
1 parent 1acade4 commit 85825c7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/@ionic-native/plugins/fingerprint-aio/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ export interface FingerprintOptions {
* Disable 'use backup' option. Only for android (optional)
*/
disableBackup?: boolean;

/**
* Title of fallback button. Only for iOS
*/
localizedFallbackTitle?: string;

/**
* Description in authentication dialogue. Only for iOS
*/
localizedReason?: string;
}

/**
Expand All @@ -36,7 +46,9 @@ export interface FingerprintOptions {
* this.faio.show({
* clientId: 'Fingerprint-Demo',
* clientSecret: 'password', //Only necessary for Android
* disableBackup:true //Only for Android(optional)
* disableBackup:true, //Only for Android(optional)
* localizedFallbackTitle: 'Use Pin', //Only for iOS
* localizedReason: 'Please authenticate' //Only for iOS
* })
* .then((result: any) => console.log(result))
* .catch((error: any) => console.log(error));
Expand Down

0 comments on commit 85825c7

Please sign in to comment.