Some Android manufacturers force stop push notification server when the app is closed in order to save battery life. Check if your device model is on dontkillmyapp list in the link: https://dontkillmyapp.com/

In this article, you will learn how to enable background push notification on your Android phone.

Step 1 – Check system notification settings

Let’s start by ensuring that all system notification settings are properly configured. This is usually what causes the problem, as apps have notifications enabled by default. So, the problem with not getting notifications is more times than not, somewhere within system settings. Here are some things you need to check out and ensure that system notification settings are properly configured:

  1. Open Settings.
  2. Choose WooDelivery App and then Notifications.
  3. Enable all notifications.
  4. Now, get back to Settings and open Sounds.
  5. Ensure that the notification sound is set.
  6. For some OEMs, navigate to Settings > Display > Notch & status bar. Once there, toggle on the “Show the icons for incoming notifications” option.

Step 2 – Disable battery optimization, and turn on Auto-start option

Some OEMs with their custom Android skins tend to go a bit overboard with the battery optimization. Besides the usual battery optimization that will reduce app activity in the, they come with certain managers that prevent apps from auto-starting or working in the background. Follow these steps to disable battery optimization for apps that don’t show notifications:

  1. Navigate again to Settings > Apps and open WooDelivery app.
  2. Choose Battery optimization.
  3. Disable optimization for the app that’s not providing you with notifications.
  4. If available, turn on the Auto-start option..

Step 3 – do not kill apps in the background

Additionally, if your device’s Android skin (Xiaomi MIUI, Huawei EMUI, Samsung One UI) has a manager that aggressively kills apps in the background, make sure to whitelist apps in order to get notifications.

Step 4 – restart your Android phone