Skip to main content

Pin Check

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.

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.


$ npm install cordova-plugin-pincheck $ npm install @ionic-native/pin-check $ ionic cap sync

Supported Platforms#

  • Android
  • iOS



Learn more about using Ionic Native components in React


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.");  );