Skip to content

Commit

Permalink
fix(devtools): iOS network debug not working in chrome (Tencent#4112)
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwcg committed Nov 12, 2024
1 parent cbdc447 commit 39986f8
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 @@ -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];

Expand Down

0 comments on commit 39986f8

Please sign in to comment.