细化移动分享文档口径
移动壳分享文档明确限定 Expo 系统分享语义 原生壳门禁继续拒绝跨宿主系统分享泛称
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1578,6 +1578,7 @@ function assertNativeShellCapabilityPlan() {
|
||||
'深链、系统分享、即时本地通知',
|
||||
'重复执行支付、登录、系统分享、文件导入导出',
|
||||
'发布分享弹窗只有声明 `share.open` 时才显示“系统分享”',
|
||||
'发布分享弹窗只有在宿主声明 `share.open` 时才提供“系统分享”动作',
|
||||
]) {
|
||||
if (
|
||||
planSource.includes(staleShareWording) ||
|
||||
@@ -1592,6 +1593,7 @@ function assertNativeShellCapabilityPlan() {
|
||||
for (const requiredShareWording of [
|
||||
'深链、受控分享动作、即时本地通知',
|
||||
'重复 `id` 不得重复执行支付、登录、受控分享动作、文件导入导出',
|
||||
'发布分享弹窗在 Expo 移动壳声明 `share.open` 时提供“系统分享”动作',
|
||||
'发布分享弹窗在 Tauri 桌面壳中展示“复制分享文案 / 已复制 / 复制失败”',
|
||||
'并按 `hostShell` 区分 Expo 系统分享面板和 Tauri 剪贴板复制表达',
|
||||
]) {
|
||||
|
||||
Reference in New Issue
Block a user