Skip to content

Comments

feat(installation-proxy): support retrieving specific attributes in listApps#2724

Merged
mykola-mokhnach merged 4 commits intoappium:masterfrom
navin772:returnAttributes-listApp
Feb 5, 2026
Merged

feat(installation-proxy): support retrieving specific attributes in listApps#2724
mykola-mokhnach merged 4 commits intoappium:masterfrom
navin772:returnAttributes-listApp

Conversation

@navin772
Copy link
Contributor

@navin772 navin772 commented Feb 5, 2026

Adds support for retrieving specific attributes instead of the whole attributes dump.

New optional parameter added - returnAttributes which takes in array of strings, e.g -
["CFBundleIdentifier", "CFBundleName", "UIFileSharingEnabled"]

and will return the applications these attributes only.

More discussed here - #2714 (comment)

@navin772
Copy link
Contributor Author

navin772 commented Feb 5, 2026

Hi @mykola-mokhnach , need some clarification on the API design we would like to move ahead with.

Should we include the CFBundleIdentifier everytime, it's the same string as the key in the map, for example, currently when we pass returnAttributes as ["UIFileSharingEnabled"], we get:

{
  "developer.apple.wwdc-Release": {
    "CFBundleIdentifier": "developer.apple.wwdc-Release"
  },
  "com.adobe.Adobe-Reader": {
    "UIFileSharingEnabled": true,
    "CFBundleIdentifier": "com.adobe.Adobe-Reader"
  },
  "com.navin.WebDriverAgentRunner.xctrunner": {
    "CFBundleIdentifier": "com.navin.WebDriverAgentRunner.xctrunner"
  }
}

So we are getting all apps with theCFBundleIdentifier, and UIFileSharingEnabled wherever it is applicable.

Or should we exclude other apps and only show the ones with UIFileSharingEnabled (this way we loose no. of total apps)

@mykola-mokhnach
Copy link
Contributor

Hi @mykola-mokhnach , need some clarification on the API design we would like to move ahead with.

Should we include the CFBundleIdentifier everytime, it's the same string as the key in the map, for example, currently when we pass returnAttributes as ["UIFileSharingEnabled"], we get:

{
  "developer.apple.wwdc-Release": {
    "CFBundleIdentifier": "developer.apple.wwdc-Release"
  },
  "com.adobe.Adobe-Reader": {
    "UIFileSharingEnabled": true,
    "CFBundleIdentifier": "com.adobe.Adobe-Reader"
  },
  "com.navin.WebDriverAgentRunner.xctrunner": {
    "CFBundleIdentifier": "com.navin.WebDriverAgentRunner.xctrunner"
  }
}

So we are getting all apps with theCFBundleIdentifier, and UIFileSharingEnabled wherever it is applicable.

Or should we exclude other apps and only show the ones with UIFileSharingEnabled (this way we loose no. of total apps)

It's ok to keep it.

@navin772
Copy link
Contributor Author

navin772 commented Feb 5, 2026

It's ok to keep it.

Then the current changes are ready for review.

@mykola-mokhnach mykola-mokhnach merged commit 8631eec into appium:master Feb 5, 2026
13 of 15 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 5, 2026
## [10.21.0](v10.20.0...v10.21.0) (2026-02-05)

### Features

* **installation-proxy:** support retrieving specific attributes in `listApps` ([#2724](#2724)) ([8631eec](8631eec))
@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

🎉 This PR is included in version 10.21.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@navin772 navin772 deleted the returnAttributes-listApp branch February 5, 2026 19:01
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.

2 participants