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

[question]: OneSignal.Notifications.addEventListener('click'.....) not fire coldstart #1041

Open
1 task done
bahadir1981 opened this issue Feb 4, 2025 · 1 comment
Open
1 task done

Comments

@bahadir1981
Copy link

bahadir1981 commented Feb 4, 2025

How can we help?

If a notification arrives while the app is closed, the click event listener does not work (OneSignal.Notifications.addEventListener('click', ...) does not fire). However, if the app is in the background or open, the click event works properly.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@nan-li
Copy link
Contributor

nan-li commented Feb 4, 2025

Hi @bahadir1981,
Please tell us the platform you experience this on, Android or iOS?

What version of the SDK are you using?

How are you testing the click listener, are you solely relying on logs?

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

2 participants