OneSignal / OneSignal-Flutter-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your flutter app with OneSignal
https://www.onesignal.com
Other
606 stars 204 forks source link

[question]: both addForegroundWillDisplayListener and addClickListener not triggered with hms (huawei). #870

Open Dicksenz opened 2 months ago

Dicksenz commented 2 months ago

How can we help?

Any fix for that ?

Code of Conduct

jennantilla commented 2 months ago

Hello @Dicksenz thank you for your patience! Can you share a bit more about how and where you've added these methods? Does anything interesting pop up in the logs?

We'll work on trying to reproduce this!

tovidd commented 3 hours ago

@jennantilla i can confirmed addForegroundWillDisplayListener and addClickListener never triggered.

The OneSignal log is printing well when new push notification arrived.

OneSignal.Notifications.addClickListener((event) {
      // this code never called
});

I also try to removeForegroundWillDisplayListener and removeClickListener. Also uninstall the apps. Nothing works.