gdelataillade / alarm

A Flutter plugin to easily manage alarms on iOS and Android
https://pub.dev/packages/alarm
MIT License
132 stars 86 forks source link

Remove notification after click it from status bar or notification in app #231

Closed songtoanht closed 1 month ago

songtoanht commented 3 months ago

Alarm plugin version *ex: 3.1.4

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Open app
  2. Set Alarm
  3. show notification
  4. click notification
  5. Notification was not removed

Expected behavior

Screenshots If applicable, add screenshots to help explain your problem.

Device info Android device

Additional context Add any other context about the problem here.

gdelataillade commented 2 months ago

Hi @songtoanht

I just released version 4.0.0-dev.1 which is a testing version before releasing definitive 4.0.0. I made big changes in the native android code so I hope it will fix your issue.

songtoanht commented 2 months ago

Hi @gdelataillade, After I upgrade to version 4.0.0-dev.1, do I need to modify any other code?

gdelataillade commented 2 months ago

Hi @songtoanht

No, after upgrading to version 4.0.0-dev.1, you shouldn't need to modify any code.

But for 4.0.0-dev.3 I'm modifying the AlarmSettings class so you will need to change a few things but your linter will tell you.