-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can't set priority for Android heads-up notification #114
Comments
Can you educate me on what a 'heads-up' notification is, and how it's different from one that shows in the foreground (because that's what I thought was meant). |
Heads-up notification Figure 3. A heads-up notification appears in front of the foreground app The heads-up notification appears the moment your app issues the notification and it disappears after a moment, but remains visible in the notification drawer as usual. For me, when using the option "forceShowWhenInForeground," the notification displays in the standard notification drawer while the app is in the foreground, but doesn't show the notification in the foreground, if that makes any sense. The heads-up notification needs to show as a floating window with text (like the default notifications in iOS), not just an icon in the notification drawer, which then shows the notification text and icon when dragged down (like default notifications in Android). |
Any update? Would be useful to have this available. |
@EddyVerbruggen |
Alright, available now in 4.1.2. See the readme (look for |
Hello,
Thank you so much for this plugin. It is has been very helpful for my app's purposes, where push notifications would have been overkill.
However, I find that I am unable to create heads-up notifications. There is no "priority" property, as referenced in issue #98, and I see that heads-up notifications are referenced in issue #69, however this issue recommends using the property "forceShowWhenInForeground" to true, which does not create a heads-up notification (though it does create a regular notification while the app is in the foreground).
Any help would be greatly appreciated. Thanks again!
The text was updated successfully, but these errors were encountered: