Doze mode on Oreo


I am facing issue in my app regarding doze mode. I am making a chat application and when app is in backgroud during doze mode and receive any message . Device does not show notification in orea.

I have followed the proper procedure for OREO notification by building channel for it.

I need to find if there is a way to whiteList my app from doze mode so that I can have notifications. Or any other process to optimize notification building.


I do not need to whitelist my application to get notifications in doze mode. I recommend to look at your notification to see if you can find the issue there.

Some tips:

<ol><li>Send a notification, use the notification field. If theres no notification field it will be handled as a data notification. Data notifications are delivered when the app starts again.</li> <li>Set priority to high. </li> <li>Maybe use time to live = 0. That will make firebase to try harder to get it delivered. But it will be lost if it fails. </li> </ol>

Hard to give you more direct advice when I do not know where you are sending the notification from.

<a href="https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages" rel="nofollow">https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages</a>


  • Resources and layout direction rendered incorrectly only on Android 8.0 and above
  • How to have Read + Write external storage after targeting android O (26) 8.0
  • Invalid resource directory name “font” Xamarin Android
  • PHP - Could automatically processing every $_POST variable be a security issue?
  • Emulate C# lock statement in C++
  • Using google maps api behind firewall
  • Why tel:* links don't work on ios?
  • Skipping certain files/classes when using asdoc
  • How do I convert a ResultSet in a List of Hashtable?
  • Excluding multiple values from the array
  • byebug, next into application code only
  • How to escape colon (:) character while executing native SQL queries against an Informix database us
  • How to best manage SMTP clients
  • Swift iOS don't recognize GCM library imports?
  • Python: sending key press events over SSH
  • INSERT EXEC Statement cannot be nested [duplicate]
  • Efficient algorithm to find additions and removals from 2 collections
  • Get used tables from sql query [duplicate]
  • Error in making a socket connection
  • Building Qt project for C++11 standard
  • XSLT foreach repeating nodes to flat
  • Switch to popup in python using selenium
  • pillow imaging ImportError
  • Declaring variable dynamically in VB.net
  • Rails Find when some params will be blank
  • How to define and use opencv mat of user type
  • Exchange data b/w iOS devices using Bluetooth 4.0
  • Jenkins: How To Build multiple projects from a TFS repository?
  • C# - Is there a limit to the size of an httpWebRequest stream?
  • Finding past revisions of files in StarTeam w/ .NET SDK / C#
  • Updating server-side rendering client-side
  • Javascript Callbacks with Object constructor
  • How to pass list parameters for each object using Spring MVC?
  • Proper folder structure for lots of source files
  • How can I remove ASP.NET Designer.cs files?
  • python draw pie shapes with colour filled
  • sending mail using smtp is too slow
  • Is there any way to bind data to data.frame by some index?
  • How can i traverse a binary tree from right to left in java?
  • How can I use `wmic` in a Windows PE script?