Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant