feat(share): 朋友圈分享(sharefriend=2)走文本分享但指引专门指向朋友圈
ShareGuideRequest 加 timeline 标记(sharefriend==2);指引框 timeline 时显示『分享到朋友圈步骤』 (打开微信→发现→朋友圈→长按相机发表文字→粘贴→发表),否则好友/群聊步骤。
This commit is contained in:
@@ -45,14 +45,14 @@ export interface SharePanelResult {
|
||||
export interface ShareGuideRequest {
|
||||
/** 渠道:'wechat' | 'qq' | 'douyin'。 */
|
||||
platform: string;
|
||||
/** 内容类型:'text' | 'image'(决定指引文案与系统分享走 systemText/systemImage)。 */
|
||||
contentKind: string;
|
||||
/** 是否朋友圈直发(true=微信朋友圈,引导发朋友圈;false=好友/群聊)。 */
|
||||
timeline: boolean;
|
||||
/** 用户选定动作后回投的一次性事件名(ShareProvider 已 EventBus.once 监听)。 */
|
||||
resultEvent: string;
|
||||
}
|
||||
|
||||
/** 指引窗动作回投载荷。 */
|
||||
export interface ShareGuideResult {
|
||||
/** 'open'(打开App)| 'system'(用系统分享)| 'cancel'。 */
|
||||
/** 'open'(立即打开App)| 'cancel'(稍后分享/取消)。 */
|
||||
action: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user