接入热身入口原生导航

儿童动作热身入口在原生壳内优先走受控导航

新增 HostBridge 真实导航请求测试

同步宿主壳协议文档和共享记忆
This commit is contained in:
2026-06-19 11:26:57 +08:00
parent 7c50fa489d
commit 3fad91337c
5 changed files with 43 additions and 2 deletions
@@ -316,6 +316,7 @@ import {
recordRpgEntryWorldGalleryPlay,
remixRpgEntryWorldGallery,
} from '../../services/rpg-entry/rpgEntryLibraryClient';
import { navigateHostNativePage } from '../../services/host-bridge/hostBridge';
import {
getRpgProfilePlayStats,
submitRpgProfileFeedback,
@@ -7087,7 +7088,12 @@ export function PlatformEntryFlowShellImpl({
}, [setSelectionStage]);
const startChildMotionDemo = useCallback(() => {
window.location.assign('/child-motion-demo');
void (async () => {
const navigated = await navigateHostNativePage('/child-motion-demo');
if (!navigated) {
window.location.assign('/child-motion-demo');
}
})();
}, []);
const resolveBabyObjectMatchRuntimeDraft = useCallback(