capacitor-device-security-mgerullis
v1.0.4
Published
A plugin to check for pin check on both iOS and android for ionic
Downloads
6
Readme
pin-check
A capicator plugin to check on iOS / Android devices if the password pin is enabled or not on the mobile device.
Install
npm install @creativecookie/pin-check
npx cap sync
USAGE IN IONIC 5/6
- After installing include in the module page that you want to use with the import below
- import { PinCheck } from '@creativecookie/pin-check';
- in your function, (await PinCheck.pinCheck()).value will return either true or false
API
pinCheck()
pinCheck() => Promise<{ value: boolean; }>
Returns: Promise<{ value: boolean; }>