Skip to content

[Bug]: OneSignal.Notifications.addClickListener does't fire on cold start #807

Closed
@wasilni2022

Description

@wasilni2022

What happened?

Hello, I'm using one signal 5.0.4
I have tested the notifications on real android device running android 33

OneSignal.Notifications.addClickListener is not working when the app is killed completely.
it's works only if the app is running on foreground or background but not when completely killed.

Steps to reproduce?

1. OneSignal.Notifications.addClickListener not called

What did you expect to happen?

Once the user clicked on the notification on phone appbar, the app should open and fire ClickListener, but the app is opened without firing the listener.

OneSignal Flutter SDK version

5.0.4

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

No error or warning log from the package.

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