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

Pushnotification.popInitialNotification() is returning undefined when notification is received in kill state. #2413

Open
vr1Ravi opened this issue Jun 12, 2024 · 0 comments

Comments

@vr1Ravi
Copy link

vr1Ravi commented Jun 12, 2024

I am new to this package. what i understood is popInitialNotification method is for a situation when your app is killed and you tap on notification app opens and redirects you to specific screen. I impleted the logic but the current behaviour is sometimes i am getting notification as an object in a callback but sometime undefined. Now when I am gettting an object, My app is open and i get the notification then killing the app and tapping on notification redirects to desired screen. Second case when app is already killed and notification came, in this case tapping on notification getting undefined and hence no redirection. Could anyone please help I've been stuck on this for like 5 days.

@vr1Ravi vr1Ravi changed the title Pushnotification.popInitialNotification() is returning undefined when notification is recived in kill state. Pushnotification.popInitialNotification() is returning undefined when notification is received in kill state. Jun 12, 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