我需要为 blackberry webworks phonegap 开发插件。但我不想将我的插件源文件添加到cordova.jar。我想创建另一个 jar 并将其放入我的项目中 www 文件夹中的某个位置。
可能吗?
我需要为 blackberry webworks phonegap 开发插件。但我不想将我的插件源文件添加到cordova.jar。我想创建另一个 jar 并将其放入我的项目中 www 文件夹中的某个位置。
可能吗?
In my experience with Phonegap/Cordova you must place your plugin within their JAR file. It goes against their standard implementation to add a plugin any other way, and I imagine you'd have a world of trouble getting it to work properly otherwise.
I've never seen it done any other way personally. Can I ask why you wouldn't want to add your plugin to their JAR???
-Chad