Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notificationTapped event is not happening in case React Native Application is not launched #84

Open
ashutoshtracky opened this issue Dec 19, 2024 · 0 comments

Comments

@ashutoshtracky
Copy link

Things are working perfectly fine in case of debug mode, but after generating a release build and receiving the push notification, notificationTapped event is not coming even after tapping on the push notification.
Only getting tokenReceived notification in release build.

Kindly provide a solution for the same.

useEffect(() => {
mobileMessaging.supportedEvents.forEach(event => {
let subscription = mobileMessaging.subscribe(event, eventData => handleMobileMessagingEvent(event, eventData),);
subscriptions.push(subscription);
});
}, [subscriptions]);

@ashutoshtracky ashutoshtracky changed the title notificationTapped event is not happening in case Application is not launched notificationTapped event is not happening in case React Native Application is not launched Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant