From 39986f84ffa4ca56f4e350ec1bfdf5cb274468b1 Mon Sep 17 00:00:00 2001 From: wwwcg Date: Tue, 12 Nov 2024 11:51:52 +0800 Subject: [PATCH] fix(devtools): iOS network debug not working in chrome (#4112) --- framework/ios/base/executors/HippyJSExecutor.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/ios/base/executors/HippyJSExecutor.mm b/framework/ios/base/executors/HippyJSExecutor.mm index c6aed485dca..59ca83a92c3 100644 --- a/framework/ios/base/executors/HippyJSExecutor.mm +++ b/framework/ios/base/executors/HippyJSExecutor.mm @@ -166,7 +166,7 @@ - (void)setup { // inject device info information NSMutableDictionary *deviceInfo = [NSMutableDictionary dictionaryWithDictionary:[bridge deviceInfo]]; NSString *deviceName = [[UIDevice currentDevice] name]; - NSString *clientId = HippyMD5Hash([NSString stringWithFormat:@"%@%p", deviceName, strongSelf]); + NSString *clientId = HippyMD5Hash([NSString stringWithFormat:@"%@%p", deviceName, bridge]); NSDictionary *debugInfo = @{@"Debug" : @{@"debugClientId" : clientId}}; [deviceInfo addEntriesFromDictionary:debugInfo];