PhoneGap 3 plugin: exec() call to unknown plugin “…”

后端 未结 5 1298
鱼传尺愫
鱼传尺愫 2020-12-28 17:52

I\'ve been trying to upgrade a plugin to v3, and I\'ve managed to get past the plugin loading issues, and I\'ve managed to expose the plugin to the client environment (makin

5条回答
  •  囚心锁ツ
    2020-12-28 18:12

    define your plugin in "res/xml/config.xml"

    find these lines in the file

    
            
    
    

    and append these right after:

    
            
    
    

    replace the dummy names (MyPluginName, plugins.plugin.class, etc) with the actual names. This works for me when I was getting this error:

    exec() call to unknown plugin : MyPluginName

提交回复
热议问题