简体   繁体   中英

How to whitelist my Android app to China manufacturer like Xiaomi, Oppo, etc

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 contacting these manufacturer to whitelist my app. Can anyone show me how to do that?

P/s: I know an app can run in background without whitelist (I'm not sure about this, but it's not in list app with auto-start permission when I check), that's Zalo ( https://play.google.com/store/apps/details?id=com.zing.zalo ), another app can run in background on Oppo device, but not on Xiaomi device(Xiaomi Redmi 4X, with Android 7.1.2, MIUI Global 9.2), that's VN Ngay nay( https://play.google.com/store/apps/details?id=com.xb.topnews ), so I still hope there's a way to keep app running in background, please comment if you know, thanks!

作业调度程序,类似服务的Firebase调度程序将在后台运行,因此您可以使用这些服务在后台运行您的服务

There is no way to do that, unless you contract XiaoMi and other mobile phone manufacturers for Business cooperation 。 I am used to be a developer in XiaoMi,and exactly I wirte some code about this. I am very sorry to say, as I know,a normal android developer can do nothing for this.

'<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /> <uses-permission android:name="android.permission.WAKE_LOCK" />'

在清单文件中添加这两个权限可能会起作用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM