锁定移动壳文件分享失败响应

移动壳文件导出统一收口系统分享能力探测失败

移动壳文件导出统一收口系统分享面板失败

移动壳配置检查补充文件分享失败边界反查
This commit is contained in:
2026-06-20 14:00:40 +08:00
parent 1e19ebb4d9
commit 933e690824
3 changed files with 152 additions and 45 deletions
@@ -1991,6 +1991,8 @@ for (const snippet of [
'Notifications.getPermissionsAsync',
'Notifications.requestPermissionsAsync',
'Sharing.shareAsync',
'assertMobileFileSharingAvailable',
'shareMobileFile',
'DocumentPicker.getDocumentAsync',
'Clipboard.getStringAsync',
'ImagePicker.launchImageLibraryAsync',
@@ -2108,6 +2110,10 @@ for (const snippet of [
'exportAudioFile({',
"code: 'unsupported_capability'",
"code: 'cancelled'",
'maps native sharing availability failures to stable export errors',
'maps native sharing sheet failures to stable export errors',
"message: 'file sharing unavailable'",
"message: 'file sharing failed'",
'rejects image import before picker launch when library permission is denied',
'rejects image import before picker launch when library permission request fails',
'rejects image capture before camera launch when camera permission request fails',