phonegap-weixin
phonegap-weixin copied to clipboard
plugin 'weixin' not found
Hi,
I added this plugin using: phonegap add plugin https://github.com/ajccom/phonegap-weixin/issues/new
I also include the following in config xml:
<feature name="WeiXin">
<param name="ios-package" value="WeiXin" />
</feature>
when I execute the register in my app:
navigator.weixin.register(wechatId,
function () {
alert("success");
},
function () {
alert("fail");
});
}
I got following error:
CDVPlugin class WeiXin (pluginName: WeiXin) does not exist.
-[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [ "WeiXin326347642", "WeiXin", "register", [ "wechatId (here is my id)" ] ]