I have tested local notification with the example provided but when i clicked on Action button nothing is getting fired.
Please anyone help me in this matter.
Thank You
Hi
Did you test the example project ?
Did you put .configure() outside of any component ?
Did you look at the actions documentation?
Yes, I have tried all that,but it did not work
Did you test/run the example project?
Since it's working in it, you probably have an issue in your configuration.
Hi @Badal1234
Have you set invokeApp attribute to false?
I am facing the same issue onaction is not getting fired. but notification is working fine.
also me, but when i press the notification it fire onNotification event
edit:
as a workaround i catch the userInteraction property as replacement of onAction
onNotification: function (notification) {
console.log('NOTIFICATION:', notification);
if (notification.userInteraction) {
// onAction replacement here
props.navigation.replace('HomeStack');
}
},
Most helpful comment
I am facing the same issue onaction is not getting fired. but notification is working fine.