works fine for listing apps but how to also list their versions?
```bash
adb shell cmd package list packages -3
```
Source: [53634311](https://stackoverflow.com/a/53634311)
works fine for listing apps but how to also list their versions?
list packages [-f] [-d] [-e] [-s] [-3] [-i] [-l] [-u] [-U]
[--show-versioncode] [--apex-only] [--uid UID] [--user USER_ID] [FILTER]
Prints all packages; optionally only those whose name contains
the text in FILTER. Options are:
-f: see their associated file
-a: all known packages (but excluding APEXes)
-d: filter to only show disabled packages
-e: filter to only show enabled packages
-s: filter to only show system packages
-3: filter to only show third party packages
-i: see the installer for the packages
-l: ignored (used for compatibility with older releases)
-U: also show the package UID
-u: also include uninstalled packages
--show-versioncode: also show the version code
--apex-only: only show APEX packages
--uid UID: filter to only show packages with the given UID
--user USER_ID: only list packages belonging to the given user
```bash
adb shell cmd package -h
```
<details>
<summary>Output:</summary>
```
list packages [-f] [-d] [-e] [-s] [-3] [-i] [-l] [-u] [-U]
[--show-versioncode] [--apex-only] [--uid UID] [--user USER_ID] [FILTER]
Prints all packages; optionally only those whose name contains
the text in FILTER. Options are:
-f: see their associated file
-a: all known packages (but excluding APEXes)
-d: filter to only show disabled packages
-e: filter to only show enabled packages
-s: filter to only show system packages
-3: filter to only show third party packages
-i: see the installer for the packages
-l: ignored (used for compatibility with older releases)
-U: also show the package UID
-u: also include uninstalled packages
--show-versioncode: also show the version code
--apex-only: only show APEX packages
--uid UID: filter to only show packages with the given UID
--user USER_ID: only list packages belonging to the given user
```
</details>
I doubt the versionCode to change from a commit to the other while the following change from a commit to the other as far as I know.
```bash
adb shell cmd package list packages -3 --show-versioncode
```
<details>
<summary>Output:</summary>
```
...
package:org.mozilla.fennec_fdroid versionCode:1320020
...
```
</details>
I doubt the `versionCode` to change from a commit to the other while the following change from a commit to the other as far as I know.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Source: 53634311
works fine for listing apps but how to also list their versions?
Output:
Output:
I doubt the
versionCodeto change from a commit to the other while the following change from a commit to the other as far as I know.Bash script listing versions of packages:
It helps Benjamin-Loison/android_packages_apps_Messaging/issues/10.