Linked Questions

27 votes
7 answers
29k views

I have a service in my app which needs to be running in the background all the time. On all devices, it's working fine except Xiaomi. I have read somewhere that we need to enable auto-start in ...
Shivam Nagpal's user avatar
28 votes
3 answers
13k views

My App is working with good remarks in all mobile except MI. Because MI restricting my App background service to run. After enabling App in Autostart in Security, it working perfectly. So can I enable ...
Shamili Rani's user avatar
20 votes
4 answers
25k views

I want my app to be in the autostart list after installation. I know when I install an app like (whatsapp) it goes automatically to the autostart list. I want my app to be the same I tried the code ...
asmgx's user avatar
  • 8,150
9 votes
1 answer
6k views

I would like to know whether the background service for any application can be provided by xiaomi? I have service in my app which need to be running in background all the time , in all devices its ...
Surya Mitra's user avatar
11 votes
2 answers
4k views

I want to auto start my android app either at boot time or after installation of app. I have applied following code: (AndroidManifest.xml) <?xml version="1.0" encoding="utf-8"?> <manifest ...
Ashish Agrawal's user avatar
7 votes
3 answers
8k views

For check screenshot and detail, click here Please give related suggession or code for how to add automatic enable auto start for my app , please check here attached screen shot thanks in advance.
Chirag Kheni's user avatar
1 vote
3 answers
6k views

I know this is a really old question, but I don't see a clearly answer. Any solution about keeping android app running in background on china devices seems to be not working, so I think about ...
Tiến Nguyễn Hữu's user avatar
-3 votes
1 answer
1k views

I am developing a background services and in OnDestroy Method, I've called an intent to start my services again. I'ts not started again on miui rom (Xiaomi mobile and huawei mobile). How do I handle ...
Ali Kouroshfar's user avatar
2 votes
0 answers
2k views

While working with Xiaomi manufactured mobile devices, I am opening AutoStart screen to enable AutoStart for my App. But is there any way to check Is AutoStart is enabled for our App. Thanks in ...
Shamili Rani's user avatar
0 votes
1 answer
887 views

I'm here developed a hybrid cordova based android app in which i need to do some task before killing app for this i wrote below code onDestroy() in MainActivity and onTaskRemoved in one of service ...
Surya's user avatar
  • 201
3 votes
1 answer
1k views

I am building an android application where I am using some services. My services get close when application is close in some custom android OS like MI. Then I figure out we have to push our ...
Hitesh Matnani's user avatar
1 vote
3 answers
934 views

So I am trying to make my app auto-start So to do this i have to redirect the user to the auto start screen of the devices. I tried calling intent similar as we get the battery detail app in flutter ...
Neelay Srivastava's user avatar
0 votes
1 answer
394 views

I am facing issues in receiving FCM push notifications when the app is killed on certain devices like Oppo, Huawei, Xiaomi and OnePlus. I understand that it is due to battery optimisation settings in ...
aiswarya-sk's user avatar