File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
src/services/ios/installation-proxy Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,22 @@ export class InstallationProxyService extends BaseService {
7171 const {
7272 applicationType = DEFAULT_APPLICATION_TYPE ,
7373 returnAttributes = DEFAULT_RETURN_ATTRIBUTES ,
74+ returnAllAttributes = false ,
7475 } = options ;
7576
77+ const clientOptions : Record < string , string | string [ ] > = {
78+ ApplicationType : applicationType ,
79+ } ;
80+
81+ // When returnAllAttributes is true, don't set ReturnAttributes
82+ // to let iOS return all available attributes
83+ if ( ! returnAllAttributes ) {
84+ clientOptions . ReturnAttributes = returnAttributes ;
85+ }
86+
7687 const request : PlistDictionary = {
7788 Command : 'Browse' ,
78- ClientOptions : {
79- ApplicationType : applicationType ,
80- ReturnAttributes : returnAttributes ,
81- } ,
89+ ClientOptions : clientOptions ,
8290 } ;
8391
8492 const conn = await this . getConnection ( ) ;
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export type ProgressCallback = (
88export interface BrowseOptions {
99 applicationType ?: ApplicationType ;
1010 returnAttributes ?: string [ ] ;
11+ returnAllAttributes ?: boolean ;
1112}
1213
1314export interface InstallOptions {
You can’t perform that action at this time.
0 commit comments