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

Consecutive alarm error : mediaplayer went away with unhandled events #117

Closed KetutKusuma closed 9 months ago

KetutKusuma commented 11 months ago

Alarm plugin version ^3.0.0-dev.5

Describe the bug When i use the alarm ringing for many time with consecutive. this error show up, maybe this is my wrong, can you help me

To Reproduce Steps to reproduce the behavior:

  1. ...

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

image

Device info Provide device info (Manufacturer, OS version, ...) Ex: iPhone 13 Pro, iOS 16.2, ...

Additional context Add any other context about the problem here.

gdelataillade commented 11 months ago

Hi @KetutKusuma

Thanks for reporting the issue.

The issue happens when you schedule multiple alarms at the same time or when multiple alarms ring at the same time ?

I'll try to fix this in the next release.

gdelataillade commented 11 months ago

Hi @KetutKusuma

I just released version 3.0.0. Let me know if it fixes your issue.

KetutKusuma commented 11 months ago

@gdelataillade i want to ask again, can the alarm working on background message?, and stop it on the notification?

gdelataillade commented 11 months ago

Hi @KetutKusuma

What do you mean by "working on background message" ?

Then, for "stop it on the notification", if you refer to notification actions then it's not currently available but I'll develop it someday soon hopefully.