Skip to content
This repository was archived by the owner on Sep 24, 2021. It is now read-only.

Foreground notifications not shown prior to API 26 #291

Closed
mars-lan opened this issue Apr 27, 2021 · 1 comment
Closed

Foreground notifications not shown prior to API 26 #291

mars-lan opened this issue Apr 27, 2021 · 1 comment
Labels
bug Something isn't working Platform: Android

Comments

@mars-lan
Copy link
Contributor

Normal notifications are displayed correctly but not foreground notifications. Calling notifee.displayNotification with android.asForegroundService set to true doesn't seem to do anything on API 22-25. The same code works fine in API 27+ (crashes on API 26 though).

It might have something to do with with Notification Channel which was introduced since API 26.

@helenaford helenaford added bug Something isn't working Platform: Android labels Apr 27, 2021
@helenaford
Copy link
Member

Think we can group this issue with #290.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working Platform: Android
Projects
None yet
Development

No branches or pull requests

2 participants