Skip to content Skip to sidebar Skip to footer

Not Receive Notification When Mobile Is Lock

I am using FCM. When mobile screen is ON , Notifications received by all mobiles ( In my case , there is 12 mobiles ) When mobile is locked , Notification send by server successful

Solution 1:

Add this Permission in manifest which prevents your phone from sleeping.

<uses-permissionandroid:name="android.permission.WAKE_LOCK"/>

also check in latest device their is concept of protected apps only protected app will run in background only these apps will receive notification when device is locked

In protected apps located in Advanced settings->Battery manager->protected aps

Post a Comment for "Not Receive Notification When Mobile Is Lock"