All notifications are triggered when user clicks on one notification.
Second issue:
I can’t get data from notification
How I do it?
LocalNotifications.on("click", (notification, state) => {
//some action here
});
LocalNotifications.schedule({
id: notificacao.CodigoColetor,
title: notificacao.NomeColetor + " | " + notificacao.NomeSensor,
text: textoDaNotificacao,
icon: "http://www.iconsplace.com/icons/preview/navy/processor-64.png",
data: notificacao
});