Adding third party Cordova Plugin in IBM Mobile first 7.1 using Eclipse

守給你的承諾、 提交于 2019-12-24 14:58:49

问题


I am new to IBM mobile firstplatform. I have installed the MFP 7.1 plugin in Eclipse. Any idea how do I add a third party Cordova plugin in my existing MFP project, using Eclipse?

We can do it using command line. But I need to do it using Eclipse.


回答1:


Actually, you cannot do this via command line. Hybrid apps created using mobilefirst do not support 3rd party plug-in installation via the Cordova CLI.

The only way to do this by command line, is by creating actual Cordova applications (unlike classic hybrid apps as you know them from Studio): https://www.raymondcamden.com/2015/08/17/getting-started-with-mobile-development-and-ibm-mobilefirst-7-1/

There is, however, a workaround you can follow for Studio: https://mobilefirstplatform.ibmcloud.com/blog/2015/08/03/integrating-3rd-party-cordova-plug-ins/ Note however that it is only a workaround and not an official solution.



来源:https://stackoverflow.com/questions/37023501/adding-third-party-cordova-plugin-in-ibm-mobile-first-7-1-using-eclipse

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