Skip to content

[Bug]: click listener not workingΒ #244

@RayanMoarkech

Description

@RayanMoarkech

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions