App跳转小程序 Universal Link配置专属协议链接
·
一、登录 Apple Developer Sign In - Apple,Certificates, Identifiers & Profiles勾选Associated Domains


二、登录微信开放平台 微信开放平台,配置ios链接审核
1)没有应用根据这个步骤创建 创建移动应用
2)有应用 点击应用进入->详情->开发配置->IOS应用

三、mainfest.json 安卓/IOS模块配置->share分享->微信分享

四、跳转小程序
plus.share.getServices(
(res) => {
console.log('res', type);
res[0].launchMiniProgram({
id: "小程序原始id g开头", //
path: "要跳转的小程序路径",
type: "0正式环境 1测试版 2体验版本"
});
},
(err) => {
console.log("getServices err:", err);
}
);
更多推荐
所有评论(0)