ionic-lockscreen
Features
- Supports Touch ID on iOS using cordova-plugin-touchid
- Customizable
Install
NPM
$ npm install ionic-lockscreen --save
Bower
$ bower install ionic-lockscreen --save
Use
Include as a dependency in your angular module
angular
Add the directive as the first element in your app container element:
...
Load whenever the app is opened:
;
AC(All Clear) button and Del button is also available:
$lockScreen;
Hide lockscreen if needed:
$lockScreen;
You can also trigger the lock screen on the resume and pause events.
Touch ID (iOS only)
Install cordova-plugin-touchid
$ cordova plugin add cordova-plugin-touchid --save
Set touchId:true
$lockScreen;
Theming / Language
See available options here.
Contributing
Build
npm igulp
License
MIT