Skip to content

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

@ashutoshtracky

Description

@ashutoshtracky

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]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions