接入热身入口原生导航
儿童动作热身入口在原生壳内优先走受控导航 新增 HostBridge 真实导航请求测试 同步宿主壳协议文档和共享记忆
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user