Skip to content

Commit

Permalink
fix(devtools): fix network debug information for ios in chrome devtool
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyunong committed Nov 6, 2024
1 parent 2a8e5e0 commit 16ef48c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/ios/base/executors/HippyJSExecutor.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}

Expand Down

0 comments on commit 16ef48c

Please sign in to comment.