From b6f62e41de4921e744f13b1d8f7886024b3e0b78 Mon Sep 17 00:00:00 2001 From: Max Lynch Date: Mon, 13 Sep 2021 15:25:02 -0500 Subject: [PATCH] Removed pin-check - unmaintained --- src/@ionic-native/plugins/pin-check/index.ts | 44 -------------------- 1 file changed, 44 deletions(-) delete mode 100644 src/@ionic-native/plugins/pin-check/index.ts diff --git a/src/@ionic-native/plugins/pin-check/index.ts b/src/@ionic-native/plugins/pin-check/index.ts deleted file mode 100644 index 689fba786..000000000 --- a/src/@ionic-native/plugins/pin-check/index.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; -import { Injectable } from '@angular/core'; - -/** - * @name Pin Check - * @description - * This plugin is for use with Apache Cordova and allows your application to check whether pin/keyguard or passcode is setup on iOS and Android phones. - * - * Requires Cordova plugin: cordova-plugin-pincheck. For more info, please see the [PinCheck plugin docs](https://github.com/ohh2ahh/AppAvailability). - * - * @usage - * ```typescript - * import { PinCheck } from '@ionic-native/pin-check/ngx'; - * import { Platform } from 'ionic-angular'; - * - * constructor(private pinCheck: PinCheck, private platform: Platform) { } - * - * ... - * - * this.pinCheck.isPinSetup() - * .then( - * (success: string) => console.log("pin is setup.");, - * (error: string) => console.log("pin not setup."); - * ); - * ``` - */ -@Plugin({ - pluginName: 'PinCheck', - plugin: 'cordova-plugin-pincheck', - pluginRef: 'cordova.plugins.PinCheck', - repo: 'https://github.com/shangyilim/cordova-plugin-pincheck', - platforms: ['Android', 'iOS'], -}) -@Injectable() -export class PinCheck extends IonicNativePlugin { - /** - * check whether pin/keyguard or passcode is setup - * @returns {Promise} - */ - @Cordova() - isPinSetup(): Promise { - return; - } -}