You might have problems when receiving PN (Push notifications) in your Android app. It happens to depend on the device's model, some manufacturers have their rules to disable the background service and let the user enable it manually. You need to set a configuration in your device to be able to receive PN.
Note: This process depending on your device model. We recommend using the information here as a starting point and you might find your device are not on the list and you need to find out based on your device model.
Device | Recommendation |
Xiaomi |
Enable autostart for your App. Open up Security and click through to Permissions and Autostart. Make sure your App is enabled. Note: For more help, refer to this blog post on enabling auto-start. |
OnePlus | Make sure your app is on the auto-launch list.
|
Oppo | Make sure your App is on the list of allowed start-up apps.
|
Vivo | Enable the auto-start setting for your App.
|
Lenovo | Enable the auto-start setting for your App.
|
Huawei |
Make sure your App is on the list of protected apps.
Note: For more help, refer to this blog post on fixing push notifications on Huawei devices. |
Samsung |
If you're using a Samsung device, there are a few steps to take:
|
Devices using Marshmallow OS or above (Android 6.0+) |
If you've tried the relevant options above but the problem still persists, you can also try making sure that your App is not optimized for the Doze feature (battery saving). You can find this setting on most devices by clicking Settings, then Battery, and then Battery Optimization. Make sure your App is on the list of apps excluded from optimization. Note: For more help, refer to this Greenbolt article on turning off doze mode for specific apps in Android Marshmallow. |
Comments
0 comments
Please sign in to leave a comment.