From 77a27d0b376932a777f9c6ccc7a884e78dacb445 Mon Sep 17 00:00:00 2001 From: luomy Date: Wed, 30 Aug 2023 16:39:25 +0800 Subject: [PATCH] fix(ios): amend context name for devtools --- .../ios-demo/HippyDemo/RenderPage/NativeRenderViewController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/examples/ios-demo/HippyDemo/RenderPage/NativeRenderViewController.mm b/framework/examples/ios-demo/HippyDemo/RenderPage/NativeRenderViewController.mm index f3cc7d97c94..48b218edd0e 100644 --- a/framework/examples/ios-demo/HippyDemo/RenderPage/NativeRenderViewController.mm +++ b/framework/examples/ios-demo/HippyDemo/RenderPage/NativeRenderViewController.mm @@ -115,7 +115,7 @@ - (void)runHippyDemo { launchOptions:launchOptions engineKey:key]; [_convenientBridge setInspectable:YES]; - _convenientBridge.contextName = key; + _convenientBridge.contextName = @"Demo"; _convenientBridge.moduleName = @"Demo"; _convenientBridge.methodInterceptor = self; [self mountConnector:_convenientBridge];