Add more information about MIUI to "Stay always protected dialog"
Here's what I suggest to do for now in our app:
Important points:
- The information block should be clearly visible (maybe use a "warning" style for it)
- It should only be shown to the users of MIUI.
Suggested text: On MIUI you are required to additionally manually enable "Autostart" in Settings > Apps > AdGuard. Starting from MIUI 14 there is also a new permission "Background autostart" available in Settings > Apps > AdGuard > App permissions, it should also be enabled.
Originally posted by @ameshkov in https://github.com/AdguardTeam/AdguardForAndroid/issues/5126#issuecomment-1869471406
If you need any logs or tester, let me know.
It's now a bug on AdGuard VPN 2.7. Bug wasn't there with 2.6
Mm, what do you mean, there's no "Stay always protected dialog" in AdGuard VPN.
That's not the bug. The bug is that battery optimization turns automatically on even if we put it off once AdGuard services start.
UPDATE: after updating from MIUI to HyperOS the bug seems gone. I'll test it more.
Currently using the latest AdGuard Nightly.
据说是国内定制版MIUI有黑名单/白名单应用程序,比如微信是白名单,广告拦截和杀毒软件都属于黑名单。
Adguard VPN可开启“无限制电源”,但是Adguard总是失败。
只有解锁刷机到国际版MIUI,这个问题才会有所缓解。
我曾经下载了杀毒软件Dr.web,也出现被MIUI杀后台的现象,但是它提供了“设备管理应用”的权限设定,只要使用这项权限,它似乎是开启了系统策略,就像企业用户似的,MIUI的黑名单对它不再有效。
MIUI14 for Taiwan version also have same problem.