Thanks to all of you who have downloaded this plugin! Please consider leaving a rating and review, it would be really helpful to get your feedbacks. Thanks.
Plugin by icliclabs.com
This plugin is compatible with Ionic v2.x and v3.x!
Description
Add a beautiful passcode screen to your app in order to secure your users' data. This plugin works on iOS, Android and Windows Phone. The component is very easy to use and should only take a few minutes to include to your app.
Test Before You Buy
You can test the app using Ionic View and enter the app id e19ac83f.
Features
- Works with iOS, Android and Windows Phone.
- Only 1 line to add to your template
- Comes with serveral full and detailed examples.
- This component has well structured html, css and js files and is heavily commented, so that it is easy to edit, add your style, etc.
Installation
- Copy the
app/components/ion-passcode.ts
file into your app directory
- Import the
IonPasscode
component and add it to the declarations
list in the app/app.module.ts
file
That's all!
Usage
- in your page template, add
<ion-passcode>
in your ion-content
, the parameter options
is a mandatory reference to the IonPasscodeOptions
.
That's all. Here is an example of a Page template, very simple. Just add the ion-shrinking-header
component:
<!-- simply add <ion-passcode> to your ion-content element, that's all! -->
<ion-content>
<ion-passcode [options]="passcodeOptions"></ion-passcode>
</ion-content>
Here is how to define passcodeOptions:
import { Component } from '@angular/core';
import { IonPasscodeOptions } from '../../../components/ion-passcode';
@Component({
templateUrl: 'default.html'
})
export class DefaultPage {
passcodeOptions: IonPasscodeOptions;
ngOnInit() {
this.passcodeOptions = {
title: 'Enter Passcode',
onComplete: function(passcode: string) {
// you have to return a promise once you have verified the passcode
// if the passcode is invalid call `reject()`
// if the passcode is valid call `resolve()`
return new Promise((resolve, reject) => {
if (passcode == '0000') {
reject();
}
else {
resolve();
}
});
}
}
}
}
Other Popular Plugins:
- Ionic Categories: Ionic v2.x/v3.x
- Ionic Passcode Square: Ionic v2.x/v3.x
- Ionic Passcode Flat: Ionic v2.x/v3.x
- Ionic Passcode Round: Ionic v2.x/v3.x
- Ionic Shrinking Header: Ionic v2.x/v3.x
- Ionic Material Sidemenu: Ionic v2.x/v3.x
- Ionic Walkthrough: Ionic v2.x/v3.x
- Ionic Contacts Inviter: Ionic v2.x/v3.x
- Ionic Cover Header: Ionic v1.x - Ionic v2.x/v3.x
- Ionic Profile Header: Ionic v2.x/v3.x
- Ionic Numeric Keyboard: Ionic v1.x - Ionic v2.x/v3.x
- Ionic Phone Number Validator: Ionic v1.x
- Ionic Cover Item: Ionic v1.x
- Ionic Timer: Ionic v1.x
Need Custom Work?
If you need help with your Ionic apps, if you need a specific plugin or integration. Let's get in touch. I'll be glad to develop or advise you for your app! Email me at icl1clabs@gmail.com.
Hey there! You'll need to log in
and purchase the add-on
before you can leave a rating here.
There are no ratings for this
plugin yet
·
· just now
{{ rating.comment }}
·
· just now
{{ rating.comment }}