Prevent banner from display
See original GitHub issueIs it possible to avoid showing notification banner if app is in foreground? I am trying to show Alert dialog instead notification banner when app is in foreground.
FCM.scheduleLocalNotification({
fire_date: ...,
id: ...,
body: ...,
show_in_foreground: false
})
show_in_foreground - doesn’t change anything. I actually use AppState to check in ‘FCM.on’ if app is in foreground. But in this case I want just to show Alert not both. Any idea about this?
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Can I turn off or disable the Info Banner display on my TV?
Google TV and Android TV models · Select Channels & Inputs → Info banner → set to disable. · Select Watching TV →...
Read more >Can the Info Banner display be turned off or disabled? | Sony AP
Select Channels & Inputs → Info banner → set to disable. · Select Watching TV → Info banner → Hidden or set to...
Read more >The 5 Best Ways to Minimize Banner Blindness But Still ...
The 5 best ways advertisers can minimize banner blindness · 1. Understand how people read on the web · 2. Use color to...
Read more >What is Banner Blindness? + 11 Clever Methods to Avoid It
Banner blindness happens when a user misses or ignores an advertisement on a website. It can be frustrating for businesses.
Read more >How To Protect Vinyl Banners From Damage - Eazy Print
Outdoor banners can be attached to virtually any structure but firstly make sure that it is stable and will remain in situ for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In readme you will see
finish with WillPresentNotificationResult.None
Yes, that solve the issue. Thanks 😃