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

feat: let pass user for isAppInstalled #739

Merged
merged 2 commits into from
May 8, 2024
Merged

Conversation

KazuCocoa
Copy link
Member

closes #738

Then, eventually mobile: isAppInstalled will have user like startActivity.
https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#mobile-isappinstalled`

$ adb -s emulator-5556 shell pm -h
Package manager (package) commands:
  help
    Print this help text.

  path [--user USER_ID] PACKAGE
    Print the path to the .apk of the given PACKAGE.
  list packages [-f] [-d] [-e] [-s] [-3] [-i] [-l] [-u] [-U]
      [--show-versioncode] [--apex-only] [--factory-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
      --factory-only: only show system packages excluding updates
      --uid UID: filter to only show packages with the given UID
      --user USER_ID: only list packages belonging to the given user
      --match-libraries: include packages that declare static shared and SDK libraries

@KazuCocoa KazuCocoa requested a review from mykola-mokhnach May 8, 2024 08:16
@KazuCocoa KazuCocoa merged commit 90d1fc6 into master May 8, 2024
14 of 15 checks passed
@KazuCocoa KazuCocoa deleted the isappinstalled-user branch May 8, 2024 08:31
github-actions bot pushed a commit that referenced this pull request May 8, 2024
## [12.2.0](v12.1.0...v12.2.0) (2024-05-08)

### Features

* let pass user for isAppInstalled ([#739](#739)) ([90d1fc6](90d1fc6))
Copy link

github-actions bot commented May 8, 2024

🎉 This PR is included in version 12.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Function extention (apk-utils - isAppInstalled) with the ability to indicate user profile id
2 participants