Skip to content

Commit 0e9e219

Browse files
committed
add wifiIP key to status api
1 parent ec68fa9 commit 0e9e219

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

WebDriverAgent.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4229,6 +4229,7 @@
42294229
buildSettings = {
42304230
CLANG_STATIC_ANALYZER_MODE = deep;
42314231
DEBUG_INFORMATION_FORMAT = dwarf;
4232+
DEVELOPMENT_TEAM = CGWUCLNJM7;
42324233
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
42334234
INFOPLIST_FILE = WebDriverAgentRunner/Info.plist;
42344235
LD_RUNPATH_SEARCH_PATHS = (
@@ -4276,6 +4277,7 @@
42764277
baseConfigurationReference = EEE5CABF1C80361500CBBDD9 /* IOSSettings.xcconfig */;
42774278
buildSettings = {
42784279
CLANG_STATIC_ANALYZER_MODE = deep;
4280+
DEVELOPMENT_TEAM = CGWUCLNJM7;
42794281
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
42804282
INFOPLIST_FILE = WebDriverAgentRunner/Info.plist;
42814283
LD_RUNPATH_SEARCH_PATHS = (

WebDriverAgentLib/Commands/FBSessionCommands.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ + (NSArray *)routes
255255
#if TARGET_OS_SIMULATOR
256256
@"simulatorVersion" : [[UIDevice currentDevice] systemVersion],
257257
#endif
258-
@"ip" : [XCUIDevice sharedDevice].fb_wifiIPAddress ?: [NSNull null]
258+
@"ip" : [XCUIDevice sharedDevice].fb_wifiIPAddress ?: [NSNull null],
259+
@"wifiIP" : [XCUIDevice sharedDevice].fb_acturalWifiIPAddress ?: [NSNull null],
259260
},
260261
@"build" : buildInfo.copy,
261262
@"Version":@("1.1"),

0 commit comments

Comments
 (0)