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

frida-android is unable to get frontmost application if the app is only in workprofile #2837

Open
NewUserHa opened this issue Apr 26, 2024 · 0 comments

Comments

@NewUserHa
Copy link

NewUserHa commented Apr 26, 2024

frida-android is unable to get frontmost application if the app is only in workprofile,
but the installation in android actually doesn't distinguish main user or workprofile, and all are installed to the same path.

frida-trace -UF will result:
Unable to get frontmost application on {devicename}: android.content.pm.PackageManager$NameNotFoundException: {the file name of the app}

the current workaround:
use pid or name,
or
clone app to main user.

Expected:
frida should be able to find the apk even it's under the user of workprofile (since workprofile is a common feature provided by android itself)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant