-
-
Notifications
You must be signed in to change notification settings - Fork 424
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: get only user apps in file-movement for performance aspect, add comments #1014
Conversation
cc @umutuzgur I checked file-management, too. |
https://github.com/appium/appium-ios-device/pull/38/files is pretty good. |
…bly only has user app
*/ | ||
async function getAvailableBundleIds (udid) { | ||
const service = await services.startInstallationProxyService(udid); | ||
try { | ||
const applications = await service.listApplications(); | ||
const applications = await service.listApplications({applicationType: 'User'}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't find UIFileSharingEnabled in system apps so far.
We can ignore it, for now, to improve find app performance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea
* "CFBundleInfoDictionaryVersion":"6.0", | ||
* "Entitlements": | ||
* {"com.apple.frontboard.delete-application-snapshots":true,.. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can actually speed this part up by using a different API. We can directly ask the phone if a certain bundle id is present. I will try to implement that today
… comments (appium#1014) * get only user app in file management since UIFileSharingEnabled probably only has user app
fixes appium/appium#12981