From 16ef48c5cd7c28ea45543e43620e4626c607758c Mon Sep 17 00:00:00 2001 From: arnonchen <745735906@qq.com> Date: Wed, 6 Nov 2024 14:29:41 +0800 Subject: [PATCH] fix(devtools): fix network debug information for ios in chrome devtool --- 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 6b39a5f293c..c7d7a7bcdf4 100644 --- a/framework/ios/base/executors/HippyJSExecutor.mm +++ b/framework/ios/base/executors/HippyJSExecutor.mm @@ -770,7 +770,7 @@ - (NSString *)completeWSURLWithBridge:(HippyBridge *)bridge { devInfo.wsURL = bundleURLProvider.wsURL; } NSString *deviceName = [[UIDevice currentDevice] name]; - NSString *clientId = HippyMD5Hash([NSString stringWithFormat:@"%@%p", deviceName, bridge]); + NSString *clientId = HippyMD5Hash([NSString stringWithFormat:@"%@%p", deviceName, self]); return [devInfo assembleFullWSURLWithClientId:clientId contextName:bridge.contextName]; }