We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
currently client.getPackages is equivalent to adb shell pm list packages
client.getPackages
adb shell pm list packages
need a way to get only 3rd party packages and their package filename on the given device. In other words: adb shell pm list packages -f -3
adb shell pm list packages -f -3
the full set of options available for list packages is
list packages
possible solution:
options = { retrieve_filename: [true | false*], filter: [disabled, enabled, system, thirdparty, null*], retrieve_installer: [true | false*], include_uninstalled_packages: [ true | false*], user_id: [<user_id> | null*] }
The text was updated successfully, but these errors were encountered:
Is there a workaround?
Sorry, something went wrong.
Hmm, we might add it at some point, but currently what you can do is this:
client.shell(serial, 'pm list packages -f -3') .then(adb.util.readAll) .then(function(output) { // Manually parse output here })
No branches or pull requests
currently
client.getPackages
is equivalent toadb shell pm list packages
need a way to get only 3rd party packages and their package filename on the given device. In other words:
adb shell pm list packages -f -3
the full set of options available for
list packages
ispossible solution:
client.getPackages
to take an options objectThe text was updated successfully, but these errors were encountered: