Android Push notifications work only when app is open or paused

Hello Team, I have implemented the android push notifications as per the Backendless docs, but push notifications work as long as application is open/paused, but as soon as i close the app, push notifications are not received. Can you please guide me to resolve this issue.

Thanks

Hello,

How do you close the app?

I am closing the app by swiping the app from recent opened apps. In parse it is working when app is in the foreground/background…

Hello Sergey, Please update on this.
Thanks

Hi Hassan,

Have you added a WAKE_LOCK permission as stated here - https://github.com/Backendless/Android-SDK/blob/docs/docs/push.md ?

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