Problem plugin Local Notifications ionic 2


Hi, I have a problem with the Local Notifications plugin. I have the event click on the constructor:
public clickNotificacion:boolean=false;
constructor(public navCtrl: NavController,public providerProfesional:Sesionprofesional, public alertCtrl:AlertController, public platform:Platform) {
LocalNotifications.on(“click”, (notification) => {
console.log("this: "+this.clickNotificacion);

Which should change the value of the variable to true when you click, but that event is triggered before clicking. When loading page click