wix / react-native-notifications

React Native Notifications
MIT License
3.25k stars 764 forks source link

Tap on push notification that was received when app was on foreground reloads the application #933

Closed KhimGurung closed 1 year ago

KhimGurung commented 1 year ago

App was crashing when I got push notification when app is on the background. Resolved that. But when the app is on foreground the app reloads when I tap on the notification that I received when app is on the foreground.

I want to navigate to certain page on tap of that notification but reloading the app prevents from doing that. Notifications.events().registerNotificationOpened() is being called on tap and after that my app gets reload.

a7chax commented 1 year ago

up

a7chax commented 1 year ago

@KhimGurung what is your react native version ?

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

ibrahimPorgin commented 1 year ago

up

RN 0.63.5

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Epick362 commented 1 year ago

still encountering this issue.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] commented 1 year ago

The issue has been closed for inactivity.

C-Flatla commented 1 year ago

I am also seeing this issue 😭. Android 11 React Native 0.69.10

arienemaiara commented 1 year ago

Hey guys, I was facing this same issue and I could find the solution here https://github.com/RocketChat/Rocket.Chat.ReactNative/pull/4585/commits/153fe2a9fe46a46e0c8dbda1afc6f8b5ff1d60e6

Feehzzz commented 1 year ago

@arienemaiara this package worked after update target sdk to 33 on android above 9