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

Unexpected Full Screen Behavior with androidFullScreenIntent Set to False #279

Open synstin opened 2 weeks ago

synstin commented 2 weeks ago

Alarm plugin version 4.0.9

Describe the bug When receiving notifications, the app screen immediately appears even though androidFullScreenIntent is set to false. This behavior is different from version 3.1.7 where it worked as expected. The app should not force full screen display when this option is disabled.

Expected behavior When androidFullScreenIntent is set to false:

Device info

gdelataillade commented 2 weeks ago

Hi @synstin

I'm sorry to hear about your issue. I'll fix it as soon as I have the time. Thank you.

gdelataillade commented 2 weeks ago

@synstin should be fixed in new 4.0.10 version. Let me know.

synstin commented 1 week ago

@gdelataillade Thanks for the quick fix! The issue has been fixed. However, I don't know if it's related to this issue, but When a notification goes off, I only hear the sound but not the push message. Is this the intended behaviour?

synstin commented 1 week ago

Based on my testing, I've observed the following notification behavior:

Current Behavior:

This issue only occurs on Android devices. On iOS, both sound and push messages are displayed properly on the lock screen even when the device screen is OFF.