mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
chore(package): bump dependencies and lint rules
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
|
||||
|
||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
|
||||
/**
|
||||
* @name Touch ID
|
||||
@@ -52,14 +51,15 @@ import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
|
||||
})
|
||||
@Injectable()
|
||||
export class TouchID extends IonicNativePlugin {
|
||||
|
||||
/**
|
||||
* Checks Whether TouchID is available or not.
|
||||
*
|
||||
* @returns {Promise<any>} Returns a Promise that resolves if yes, rejects if no.
|
||||
*/
|
||||
@Cordova()
|
||||
isAvailable(): Promise<any> { return; }
|
||||
isAvailable(): Promise<any> {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Show TouchID dialog and wait for a fingerprint scan. If user taps 'Enter Password' button, brings up standard system passcode screen.
|
||||
@@ -68,7 +68,9 @@ export class TouchID extends IonicNativePlugin {
|
||||
* @returns {Promise<any>} Returns a Promise the resolves if the fingerprint scan was successful, rejects with an error code (see above).
|
||||
*/
|
||||
@Cordova()
|
||||
verifyFingerprint(message: string): Promise<any> { return; }
|
||||
verifyFingerprint(message: string): Promise<any> {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Show TouchID dialog and wait for a fingerprint scan. If user taps 'Enter Password' button, rejects with code '-3' (see above).
|
||||
@@ -77,7 +79,9 @@ export class TouchID extends IonicNativePlugin {
|
||||
* @returns {Promise<any>} Returns a Promise the resolves if the fingerprint scan was successful, rejects with an error code (see above).
|
||||
*/
|
||||
@Cordova()
|
||||
verifyFingerprintWithCustomPasswordFallback(message: string): Promise<any> { return; }
|
||||
verifyFingerprintWithCustomPasswordFallback(message: string): Promise<any> {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Show TouchID dialog with custom 'Enter Password' message and wait for a fingerprint scan. If user taps 'Enter Password' button, rejects with code '-3' (see above).
|
||||
@@ -87,7 +91,12 @@ export class TouchID extends IonicNativePlugin {
|
||||
* @returns {Promise<any>} Returns a Promise the resolves if the fingerprint scan was successful, rejects with an error code (see above).
|
||||
*/
|
||||
@Cordova()
|
||||
verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel(message: string, enterPasswordLabel: string): Promise<any> { return; }
|
||||
verifyFingerprintWithCustomPasswordFallbackAndEnterPasswordLabel(
|
||||
message: string,
|
||||
enterPasswordLabel: string
|
||||
): Promise<any> {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the fingerprint database changed.
|
||||
@@ -95,6 +104,7 @@ export class TouchID extends IonicNativePlugin {
|
||||
* @returns {Promise<any>} Returns a Promise that resolves if yes, rejects if no.
|
||||
*/
|
||||
@Cordova()
|
||||
didFingerprintDatabaseChange(): Promise<any> { return; }
|
||||
|
||||
didFingerprintDatabaseChange(): Promise<any> {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user