feat(share): 朋友圈分享(sharefriend=2)走文本分享但指引专门指向朋友圈
ShareGuideRequest 加 timeline 标记(sharefriend==2);指引框 timeline 时显示『分享到朋友圈步骤』 (打开微信→发现→朋友圈→长按相机发表文字→粘贴→发表),否则好友/群聊步骤。
This commit is contained in:
@@ -223,7 +223,7 @@ export class ShareProvider implements CapabilityProvider {
|
||||
this.guideCancelFn = undefined;
|
||||
this.onGuideAction(bean, platform, p);
|
||||
});
|
||||
const req: ShareGuideRequest = { platform, contentKind: 'text', resultEvent };
|
||||
const req: ShareGuideRequest = { platform, timeline: bean.sharefriend === '2', resultEvent };
|
||||
EventBus.emit(ShareEvents.SHOW_GUIDE, req);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user