phonegap-weixin icon indicating copy to clipboard operation
phonegap-weixin copied to clipboard

plugin 'weixin' not found

Open cht8687 opened this issue 9 years ago • 1 comments

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)" ] ]

cht8687 avatar Aug 16 '14 07:08 cht8687