Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ionic-native/fingerprint-aio

Package Overview
Dependencies
Maintainers
6
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ionic-native/fingerprint-aio - npm Package Compare versions

Comparing version 5.16.0 to 5.17.0

110

index.d.ts
import { IonicNativePlugin } from '@ionic-native/core';
export interface FingerprintOptions {
/**
* Key for platform keychain
* Title in biometric prompt (android only)
* @default {APP_NAME} Biometric Sign On
*/
clientId: string;
title?: string;
/**
* Secret password. Only for android
* Subtitle in biometric Prompt (android only)
* @default null
*/
clientSecret?: string;
subtitle?: string;
/**
* Disable 'use backup' option. Only for android (optional)
* Description in biometric Prompt
* @default null
*/
disableBackup?: boolean;
description?: string;
/**
* Title of fallback button. Only for iOS
* Title of fallback button.
* @default "Use Pin"
*/
localizedFallbackTitle?: string;
fallbackButtonTitle?: string;
/**
* Description in authentication dialogue. Only for iOS
* Title for cancel button on Android
* @default "Cancel"
*/
localizedReason?: string;
cancelButtonTitle?: string;
/**
* Disable 'use backup' option.
* @default false
*/
disableBackup?: boolean;
}

@@ -38,8 +48,13 @@ /**

*
* this.faio.show().then((result: any) => console.log(result)).catch((error: any) => console.log(error));
*
* OR with options...
*
* this.faio.show({
* clientId: 'Fingerprint-Demo', //Android: Used for encryption. iOS: used for dialogue if no `localizedReason` is given.
* clientSecret: 'o7aoOMYUbyxaD23oFAnJ' //Necessary for Android encrpytion of keys. Use random secret key.
* disableBackup:true, //Only for Android(optional)
* localizedFallbackTitle: 'Use Pin', //Only for iOS
* localizedReason: 'Please authenticate' //Only for iOS
* title: 'Biometric Authentication', // (Android Only) | optional | Default: "<APP_NAME> Biometric Sign On"
* subtitle: 'Coolest Plugin ever' // (Android Only) | optional | Default: null
* description: 'Please authenticate' // optional | Default: null
* fallbackButtonTitle: 'Use Backup', // optional | When disableBackup is false defaults to "Use Pin".
* // When disableBackup is true defaults to "Cancel"
* disableBackup:true, // optional | default: false
* })

@@ -55,2 +70,67 @@ * .then((result: any) => console.log(result))

/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_UNKNOWN_ERROR: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_UNAVAILABLE: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_AUTHENTICATION_FAILED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_SDK_NOT_SUPPORTED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_HARDWARE_NOT_SUPPORTED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_PERMISSION_NOT_GRANTED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_NOT_ENROLLED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_INTERNAL_PLUGIN_ERROR: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_DISMISSED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_PIN_OR_PATTERN_DISMISSED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_SCREEN_GUARD_UNSECURED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_LOCKED_OUT: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_LOCKED_OUT_PERMANENT: number;
/**
* Check if fingerprint authentication is available

@@ -57,0 +137,0 @@ * @return {Promise<any>} Returns a promise with result

@@ -18,3 +18,69 @@ var __extends = (this && this.__extends) || (function () {

function FingerprintAIOOriginal() {
return _super !== null && _super.apply(this, arguments) || this;
var _this = _super !== null && _super.apply(this, arguments) || this;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_UNKNOWN_ERROR = -100;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_UNAVAILABLE = -101;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_AUTHENTICATION_FAILED = -102;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_SDK_NOT_SUPPORTED = -103;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_HARDWARE_NOT_SUPPORTED = -104;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_PERMISSION_NOT_GRANTED = -105;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_NOT_ENROLLED = -106;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_INTERNAL_PLUGIN_ERROR = -107;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_DISMISSED = -108;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_PIN_OR_PATTERN_DISMISSED = -109;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_SCREEN_GUARD_UNSECURED = -110;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_LOCKED_OUT = -111;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_LOCKED_OUT_PERMANENT = -112;
return _this;
}

@@ -32,2 +98,2 @@ FingerprintAIOOriginal.prototype.isAvailable = function () { return cordova(this, "isAvailable", {}, arguments); };

export { FingerprintAIO };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvQGlvbmljLW5hdGl2ZS9wbHVnaW5zL2ZpbmdlcnByaW50LWFpby9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQ0EsT0FBTyw4QkFBc0MsTUFBTSxvQkFBb0IsQ0FBQzs7SUFpRXBDLGtDQUFpQjs7OztJQU1uRCxvQ0FBVztJQVVYLDZCQUFJLGFBQUMsT0FBMkI7Ozs7Ozt5QkFsRmxDO0VBa0VvQyxpQkFBaUI7U0FBeEMsY0FBYyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxh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cmludCBBUElcbiAgICogQHJldHVybiB7UHJvbWlzZTxhbnk+fSBSZXR1cm5zIGEgcHJvbWlzZSB0aGF0IHJlc29sdmVzIHdoZW4gYXV0aGVudGljYXRpb24gd2FzIHN1Y2Nlc3NmdWxcbiAgICovXG4gIEBDb3Jkb3ZhKClcbiAgc2hvdyhvcHRpb25zOiBGaW5nZXJwcmludE9wdGlvbnMpOiBQcm9taXNlPGFueT4ge1xuICAgIHJldHVybjtcbiAgfVxufVxuIl19
import { IonicNativePlugin } from '@ionic-native/core';
export interface FingerprintOptions {
/**
* Key for platform keychain
* Title in biometric prompt (android only)
* @default {APP_NAME} Biometric Sign On
*/
clientId: string;
title?: string;
/**
* Secret password. Only for android
* Subtitle in biometric Prompt (android only)
* @default null
*/
clientSecret?: string;
subtitle?: string;
/**
* Disable 'use backup' option. Only for android (optional)
* Description in biometric Prompt
* @default null
*/
disableBackup?: boolean;
description?: string;
/**
* Title of fallback button. Only for iOS
* Title of fallback button.
* @default "Use Pin"
*/
localizedFallbackTitle?: string;
fallbackButtonTitle?: string;
/**
* Description in authentication dialogue. Only for iOS
* Title for cancel button on Android
* @default "Cancel"
*/
localizedReason?: string;
cancelButtonTitle?: string;
/**
* Disable 'use backup' option.
* @default false
*/
disableBackup?: boolean;
}

@@ -38,8 +48,13 @@ /**

*
* this.faio.show().then((result: any) => console.log(result)).catch((error: any) => console.log(error));
*
* OR with options...
*
* this.faio.show({
* clientId: 'Fingerprint-Demo', //Android: Used for encryption. iOS: used for dialogue if no `localizedReason` is given.
* clientSecret: 'o7aoOMYUbyxaD23oFAnJ' //Necessary for Android encrpytion of keys. Use random secret key.
* disableBackup:true, //Only for Android(optional)
* localizedFallbackTitle: 'Use Pin', //Only for iOS
* localizedReason: 'Please authenticate' //Only for iOS
* title: 'Biometric Authentication', // (Android Only) | optional | Default: "<APP_NAME> Biometric Sign On"
* subtitle: 'Coolest Plugin ever' // (Android Only) | optional | Default: null
* description: 'Please authenticate' // optional | Default: null
* fallbackButtonTitle: 'Use Backup', // optional | When disableBackup is false defaults to "Use Pin".
* // When disableBackup is true defaults to "Cancel"
* disableBackup:true, // optional | default: false
* })

@@ -55,2 +70,67 @@ * .then((result: any) => console.log(result))

/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_UNKNOWN_ERROR: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_UNAVAILABLE: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_AUTHENTICATION_FAILED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_SDK_NOT_SUPPORTED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_HARDWARE_NOT_SUPPORTED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_PERMISSION_NOT_GRANTED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_NOT_ENROLLED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_INTERNAL_PLUGIN_ERROR: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_DISMISSED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_PIN_OR_PATTERN_DISMISSED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_SCREEN_GUARD_UNSECURED: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_LOCKED_OUT: number;
/**
* Convenience constant
* @type {number}
*/
BIOMETRIC_LOCKED_OUT_PERMANENT: number;
/**
* Check if fingerprint authentication is available

@@ -57,0 +137,0 @@ * @return {Promise<any>} Returns a promise with result

@@ -25,3 +25,69 @@ var __extends = (this && this.__extends) || (function () {

function FingerprintAIO() {
return _super !== null && _super.apply(this, arguments) || this;
var _this = _super !== null && _super.apply(this, arguments) || this;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_UNKNOWN_ERROR = -100;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_UNAVAILABLE = -101;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_AUTHENTICATION_FAILED = -102;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_SDK_NOT_SUPPORTED = -103;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_HARDWARE_NOT_SUPPORTED = -104;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_PERMISSION_NOT_GRANTED = -105;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_NOT_ENROLLED = -106;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_INTERNAL_PLUGIN_ERROR = -107;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_DISMISSED = -108;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_PIN_OR_PATTERN_DISMISSED = -109;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_SCREEN_GUARD_UNSECURED = -110;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_LOCKED_OUT = -111;
/**
* Convenience constant
* @type {number}
*/
_this.BIOMETRIC_LOCKED_OUT_PERMANENT = -112;
return _this;
}

@@ -41,2 +107,2 @@ FingerprintAIO.prototype.isAvailable = function () { return cordova(this, "isAvailable", {}, arguments); };

export { FingerprintAIO };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvQGlvbmljLW5hdGl2ZS9wbHVnaW5zL2ZpbmdlcnByaW50LWFpby9uZ3gvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyw4QkFBc0MsTUFBTSxvQkFBb0IsQ0FBQzs7SUFpRXBDLGtDQUFpQjs7OztJQU1uRCxvQ0FBVztJQVVYLDZCQUFJLGFBQUMsT0FBMk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ICAgKiBDaGVjayBpZiBmaW5nZXJwcmludCBhdXRoZW50aWNhdGlvbiBpcyBhdmFpbGFibGVcbiAgICogQHJldHVybiB7UHJvbWlzZTxhbnk+fSBSZXR1cm5zIGEgcHJvbWlzZSB3aXRoIHJlc3VsdFxuICAgKi9cbiAgQENvcmRvdmEoKVxuICBpc0F2YWlsYWJsZSgpOiBQcm9taXNlPGFueT4ge1xuICAgIHJldHVybjtcbiAgfVxuXG4gIC8qKlxuICAgKiBTaG93IGF1dGhlbnRpY2F0aW9uIGRpYWxvZ3VlXG4gICAqIEBwYXJhbSB7RmluZ2VycHJpbnRPcHRpb25zfSBvcHRpb25zIE9wdGlvbnMgZm9yIHBsYXRmb3JtIHNwZWNpZmljIGZpbmdlcnByaW50IEFQSVxuICAgKiBAcmV0dXJuIHtQcm9taXNlPGFueT59IFJldHVybnMgYSBwcm9taXNlIHRoYXQgcmVzb2x2ZXMgd2hlbiBhdXRoZW50aWNhdGlvbiB3YXMgc3VjY2Vzc2Z1bFxuICAgKi9cbiAgQENvcmRvdmEoKVxuICBzaG93KG9wdGlvbnM6IEZpbmdlcnByaW50T3B0aW9ucyk6IFByb21pc2U8YW55PiB7XG4gICAgcmV0dXJuO1xuICB9XG59XG4iXX0=

2

ngx/index.metadata.json

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{"FingerprintOptions":{"__symbolic":"interface"},"FingerprintAIO":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin","line":66,"character":36},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":65,"character":1}}],"members":{"isAvailable":[{"__symbolic":"method"}],"show":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":4,"metadata":{"FingerprintOptions":{"__symbolic":"interface"},"FingerprintAIO":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin","line":83,"character":36},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":82,"character":1}}],"members":{"isAvailable":[{"__symbolic":"method"}],"show":[{"__symbolic":"method"}]}}}}]

@@ -1,1 +0,1 @@

{"description":"Ionic Native - Native plugins for ionic apps","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/ionic-team/ionic-native.git"},"name":"@ionic-native/fingerprint-aio","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0","@ionic-native/core":"^5.1.0"},"version":"5.16.0"}
{"description":"Ionic Native - Native plugins for ionic apps","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/ionic-team/ionic-native.git"},"name":"@ionic-native/fingerprint-aio","dependencies":{"@types/cordova":"latest"},"peerDependencies":{"rxjs":"^5.5.0 || ^6.5.0","@ionic-native/core":"^5.1.0"},"version":"5.17.0"}

@@ -1,2 +0,2 @@

<a style="float:right;font-size:12px;" href="http://github.com/ionic-team/ionic-native/edit/master/src/@ionic-native/plugins/fingerprint-aio/index.ts#L28">
<a style="float:right;font-size:12px;" href="http://github.com/ionic-team/ionic-native/edit/master/src/@ionic-native/plugins/fingerprint-aio/index.ts#L40">
Improve this doc

@@ -3,0 +3,0 @@ </a>

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc