Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

chore(api): the safe-area flag and the WeChat platform installer

esengine09560ee7c532
diff --git a/sdk/etc/index.api.md b/sdk/etc/index.api.md
index e60f66d50..3a3852b48 100644
--- a/sdk/etc/index.api.md
+++ b/sdk/etc/index.api.md
@@ -7759,6 +7759,7 @@ applyBottom: boolean
applyLeft: boolean
applyRight: boolean
applyTop: boolean
+avoidHostMenu: boolean
```
## SafeAreaPlugin — class @experimental
diff --git a/sdk/etc/index.native.api.md b/sdk/etc/index.native.api.md
index 999d90990..d7a6704a1 100644
--- a/sdk/etc/index.native.api.md
+++ b/sdk/etc/index.native.api.md
@@ -7952,6 +7952,7 @@ applyBottom: boolean
applyLeft: boolean
applyRight: boolean
applyTop: boolean
+avoidHostMenu: boolean
```
## SafeAreaPlugin — class @experimental
diff --git a/sdk/etc/index.node.api.md b/sdk/etc/index.node.api.md
index cad24882b..6734c25a3 100644
--- a/sdk/etc/index.node.api.md
+++ b/sdk/etc/index.node.api.md
@@ -7754,6 +7754,7 @@ applyBottom: boolean
applyLeft: boolean
applyRight: boolean
applyTop: boolean
+avoidHostMenu: boolean
```
## SafeAreaPlugin — class @experimental
diff --git a/sdk/etc/minigame.api.md b/sdk/etc/minigame.api.md
index 341ff5fb9..ab8047777 100644
--- a/sdk/etc/minigame.api.md
+++ b/sdk/etc/minigame.api.md
@@ -8005,6 +8005,7 @@ applyBottom: boolean
applyLeft: boolean
applyRight: boolean
applyTop: boolean
+avoidHostMenu: boolean
```
## SafeAreaPlugin — class @experimental
diff --git a/sdk/etc/wechat.api.md b/sdk/etc/wechat.api.md
index d4e565a61..5bc9d15d1 100644
--- a/sdk/etc/wechat.api.md
+++ b/sdk/etc/wechat.api.md
@@ -1,7 +1,7 @@
# API surface — esengine/wechat
<!-- Generated by tools/api-surface.mjs — do not edit. Run --update to accept changes. -->
-Symbols: 115 public · 96 beta · 1848 experimental · 3 deprecated
+Symbols: 115 public · 96 beta · 1849 experimental · 3 deprecated
## ANCHOR_AXES — const @experimental
```
@@ -7761,6 +7761,7 @@ applyBottom: boolean
applyLeft: boolean
applyRight: boolean
applyTop: boolean
+avoidHostMenu: boolean
```
## SafeAreaPlugin — class @experimental
@@ -12876,6 +12877,11 @@ GameplayPlugin
(config: RuntimeInitConfig): Promise<void>
```
+## initWeChatPlatform — function @experimental
+```
+(): void
+```
+
## initWeChatRuntime — function @experimental
```
(config: WeChatRuntimeConfig): Promise<void>