Unexpected Full Screen Behavior with androidFullScreenIntent Set to False
Opened this issue · 5 comments
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:
- The notification should only show on the lock screen or play a sound
- The app should not immediately appear in full screen
- This worked correctly in version 3.1.7
Device info
- Device: Pixel 8 Pro
Hi @synstin
I'm sorry to hear about your issue. I'll fix it as soon as I have the time. Thank you.
@synstin should be fixed in new 4.0.10
version. Let me know.
@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?
Based on my testing, I've observed the following notification behavior:
Current Behavior:
- When app is in background and device screen is ON (home screen visible):
- Both sound and push message are displayed correctly
- When device screen is OFF:
- Only notification sound plays
- Push message is not shown on the lock screen
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.
Hi @synstin I tried to address a similar issue with #294 which has since been released as v4.1.1
.
Could you give it a try and let us know if it resolves the notification issue you are describing here?
Note: This PR removes Android Setup Step 3, so please revert that change if you had already completed it.
Note 2: Please make sure to set androidFullScreenIntent = true
when creating the alarm.