Skip to content

[Bug]: click listener not working #244

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

Open
1 task done
RayanMoarkech opened this issue Apr 14, 2025 · 1 comment
Open
1 task done

[Bug]: click listener not working #244

RayanMoarkech opened this issue Apr 14, 2025 · 1 comment

Comments

@RayanMoarkech
Copy link

RayanMoarkech commented Apr 14, 2025

What happened?

My current setup is expo with expo-notifications (for local) and react-native-onesignal (for marketing and automations).

    [
        "onesignal-expo-plugin",
        {
          "mode": "development",
          "smallIcons": ["./assets/icons/android_notification_icon_dev.png"],
          "smallIconAccentColor": "#ffffff"
        }
      ]

After sending a local expo notification, I am trying to listen to expo notifications clicks, but nothing works.

addNotificationResponseReceivedListener

Is there any specific setup or conflicts to resolve to make it work?

Steps to reproduce?

1. Install expo-notifications
2. Install react-native-onesignal
3. Add listeners for both
4. Test

What did you expect to happen?

The callback should be triggered.

OneSignal Expo SDK version

2.0.3

Platform

iOS only issue
Android working well

Relevant log output

No logs. Nothing happening.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@sergiulucaci
Copy link

hei @RayanMoarkech, I have the same issue. Do you manage to find a solution?

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