xu-li / cordova-plugin-wechat

A cordova plugin, a JS version of Wechat SDK
1.22k stars 509 forks source link

安装插件没成功,提示“Variable(s) missing (use: --variable UNIVERSALLINK=value)” #583

Open tiger311 opened 4 years ago

tiger311 commented 4 years ago

运行:cordova plugin add cordova-plugin-wechat --variable wechatappid=MYAPPID

universalllink是什么东西?文档没看见解释

xiahouwei commented 4 years ago

universal link 是微信开放平台注册应用的时候 ios版 需要填写的参数 一般填写个官网

ZhongYueHui commented 4 years ago

请问微信支付ios报错端报错有解决方案吗

Watermelons6 commented 4 years ago

请问 我报了同样的错误 是因为universal link 未填写吗

ZhongYueHui commented 4 years ago

对的 加一下就好了

------------------ 原始邮件 ------------------ 发件人: "Watermelons6"<notifications@github.com>; 发送时间: 2020年7月8日(星期三) 下午4:35 收件人: "xu-li/cordova-plugin-wechat"<cordova-plugin-wechat@noreply.github.com>; 抄送: "."<898542119@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [xu-li/cordova-plugin-wechat] 安装插件没成功,提示“Variable(s) missing (use: --variable UNIVERSALLINK=value)” (#583)

请问 我报了同样的错误 是因为universal link 未填写吗

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

snowdream commented 3 years ago

cordova plugin add cordova-plugin-wechat --variable wechatappid=MYAPPID --variable UNIVERSALLINK=WEBSITE

根据微信建议: 后面的新版本都是需要填写universal link。目前可以先填写一个官网网址,后续再修改 https://developers.weixin.qq.com/community/develop/doc/00042ea35bcc68775329a90ec56400