AutoStarter icon indicating copy to clipboard operation
AutoStarter copied to clipboard

Support for Realme devices

Open arnab-kundu opened this issue 3 years ago • 6 comments

This is repo is very helpfull and working as per the README mentioned devices. But I am looking for the same in realme device.

arnab-kundu avatar Mar 31 '21 06:03 arnab-kundu

FYI. realme is using coloros. I was doing some RND the package name I found is com.coloros.safecenter

arnab-kundu avatar Mar 31 '21 06:03 arnab-kundu

That's great @arnab-kundu . Unfortunately since I don't have access to these phones, I cannot really test this out but I would be glad to review a PR that integrated this phone into the library.

judemanutd avatar Mar 31 '21 07:03 judemanutd

@judemanutd could me tell me how do you find this AutoStartActivity's fully qualified package name for these devices. Please let me know if any tool you have used for this. I have tried with android studio's logcat and Appuim tool but no luck yet.
PACKAGE_XIAOMI_COMPONENT = "com.miui.permcenter.autostart.AutoStartManagementActivity" or PACKAGE_HONOR_COMPONENT = "com.huawei.systemmanager.optimize.process.ProtectActivity"

arnab-kundu avatar Apr 01 '21 16:04 arnab-kundu

Hey @arnab-kundu unfortunately there is no tool, atleast none that I have found. The way I found it for Xiaomi was pure luck. You need to switch the logcat to watch for all logs, and then watch the logs for any activity events that occurs while opening the autostart screen on your phone. The package could be a parent package so it might pop up a few screens before the autostart screen as well. Once you have a list of package names on hand, from there is a matter of trying every package name with every other package name which is exactly what the library does as well once you look at the source code.

judemanutd avatar Apr 01 '21 17:04 judemanutd

i m also facing same issue i can not find auto start intent filter for realme devices

krunalpatel3 avatar Oct 18 '23 07:10 krunalpatel3

https://stackoverflow.com/questions/77314189/ask-auto-start-permission-in-realme-devices

krunalpatel3 avatar Oct 18 '23 07:10 krunalpatel3