File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ export default {
1313 async mobileGetBatteryInfo ( ) {
1414 let batteryInfoFromShimService ;
1515 if ( isIos18OrNewer ( this . opts ) && this . isRealDevice ( ) ) {
16- const { Services} = await import ( 'appium-ios-remotexpc' ) ;
1716 let remoteXPCConnection ;
1817 try {
18+ const { Services} = await import ( 'appium-ios-remotexpc' ) ;
1919 let { diagnosticsService, remoteXPC } = await Services . startDiagnosticsService ( this . device . udid ) ;
2020 remoteXPCConnection = remoteXPC ;
2121 batteryInfoFromShimService = await diagnosticsService . ioregistry ( {
Original file line number Diff line number Diff line change 8484 "appium-idb" : " ^1.6.13" ,
8585 "appium-ios-device" : " ^2.8.0" ,
8686 "appium-ios-simulator" : " ^6.2.2" ,
87- "appium-ios-remotexpc" : " ^0.x" ,
8887 "appium-remote-debugger" : " ^13.1.0" ,
8988 "appium-webdriveragent" : " ^9.11.0" ,
9089 "appium-xcode" : " ^5.1.4" ,
105104 "winston" : " 3.17.0" ,
106105 "ws" : " ^8.13.0"
107106 },
107+ "optionalDependencies" : {
108+ "appium-ios-remotexpc" : " ^0.x"
109+ },
108110 "scripts" : {
109111 "build" : " tsc -b" ,
110112 "clean" : " npm run build -- --clean" ,
You can’t perform that action at this time.
0 commit comments