Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Realme devices #64

Open
arnab-kundu opened this issue Mar 31, 2021 · 6 comments
Open

Support for Realme devices #64

arnab-kundu opened this issue Mar 31, 2021 · 6 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@arnab-kundu
Copy link

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
Copy link
Author

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

@judemanutd
Copy link
Owner

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 judemanutd added enhancement New feature or request help wanted Extra attention is needed labels Mar 31, 2021
@arnab-kundu
Copy link
Author

@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"

@judemanutd
Copy link
Owner

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.

@krunalpatel3
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants