1

When Android device enters in to Doze mode,connectionlost Callback is triggered in MQTT

What I have tried till now?

1.Written broadcast receiver to detect app is entering in to Doze mode or not.

2.Once It enters,Doing Partial WAKE LOCK.

My Questions here is?

Is there any way to make my app always connected to internet to make sure that my app user won't miss any notifications.

kavie
  • 2,154
  • 4
  • 28
  • 53

0 Answers0