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

Volume not recovering in the background #129

Closed synstin closed 10 months ago

synstin commented 10 months ago

Alarm plugin version 3.0.2

Describe the bug When I'm looking at the screen, when a notification goes off, the volume of the song in the external music player decreases and then returns to its original volume.

However, when the app is in the background or the screen is off, the volume of the song in the external music player decreases when the notification goes off and does not return to its original volume.

When I turn the app back on to the foreground, the volume returns to normal.

Expected behavior When the notification sounds, the song volume should decrease and then recover.

Device info Real device, iPhone 15, iOS 17.2

gdelataillade commented 10 months ago

Hi @synstin

Thanks for sharing your issue.

At what frequency does the issue happens? Every time or just sometimes ?

synstin commented 10 months ago

@gdelataillade

Happens every time. I've only tested it on my iPhone. Thanks.

gdelataillade commented 10 months ago

Hi @synstin

I just released version 3.0.3 with some Android fixes. Let me know if it fixes your issue.

synstin commented 10 months ago

@gdelataillade It works perfectly. Thank you!