Problem with ionic2-pincode-input


#1

I have one issue in this plugin.Why password does not appear in my device


New plugin ionic2-pincode-input
#2

I need more information:

  1. your device platform and version
  2. ionic Framework version
  3. your code

#3

1.my device is samsung j7 android version is 6.0.1
2. ionic2
3.code is
import { Component } from ‘@angular/core’;
import { IonicPage, NavController, NavParams } from ‘ionic-angular’;
import { PincodeController } from ‘ionic2-pincode-input/dist/pincode’;

/**

})
export class PincodePage {
code:any;

constructor(public navCtrl: NavController, public navParams: NavParams,public pincodeCtrl: PincodeController) {
this.openPinCode();
}

ionViewDidLoad() {
console.log(‘ionViewDidLoad PincodePage’);
}
openPinCode():any{

let pinCode =  this.pincodeCtrl.create({
  title:'Pincode',


});

pinCode.present();

pinCode.onDidDismiss( (code,status) => {

  if(status === 'done'){

    this.code = code;
  }else if (status === 'forgot'){

  }

})

}

}

Thanks You


#4

Does it work on the browser?


#5

No,It doesn’t work in browser


#6

Do you use lazy loading? and import PincodeInputModule in app.module.ts.
If so, please import PincodeInputModule in your.module.ts. not in app.module.ts.


#7

No,i don’t use lazy loding and import PincodeInputModule is already declare in my app.module.ts