How to change cordova version in IBM Worklight project

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-03 04:49:16

问题


In Worklight I need to use some Cordova plugins to access some native features in Android. As I see Worklight takes up the latest version of Cordova i.e 2.7. But in Cordova 2.7 there is so many stupid changes like for plugins they have changed the execute method completely. This seems ridiculous as the existing Plugins on Github is not working in cordova 2.7 projects. All plugins need to be changed as per 2.7, who is going to do that !

Anyways, is there any option in Worklight Studio to use specific cordova as per requirement ?


回答1:


Worklight does not use Cordova 2.7. In Worklight 5.0.6 Cordova 2.3 is used and in a near-future release of Worklight Cordova will be upgraded to 2.6.

In any case, you cannot independently replace the Cordova version used in Worklight. I mean you can try, but this method is not supported by IBM (and there is no need to in this case because 2.7 is not used).



来源:https://stackoverflow.com/questions/16933798/how-to-change-cordova-version-in-ibm-worklight-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!