[英]how to add cordova plugin to steroids app
I'm using cordova-http plugin in a Steroids app.我在 Steroids 应用程序中使用cordova-http插件。 according to manual , I've added plugin in iOS config in steroids could service:
根据手册,我在 steroids can service 的 iOS 配置中添加了插件:
[
{"source":"https://github.com/wymsee/cordova-HTTP.git"}
]
and also I've added it in config.xml:我还在 config.xml 中添加了它:
<js-module src="www/cordovaHTTP.js" name="cordova-HTTP">
<clobbers target="cordova-HTTP" />
</js-module>
but still I got the error telling me injected Angular model is missing.但我仍然收到错误消息,告诉我缺少注入的 Angular 模型。
do I need to link it to index.html knowing that manual says <js-module>
fulfills this job.我是否需要将它链接到 index.html 知道手册说
<js-module>
完成这项工作。
do I need to install plugin like what's mentioned in plugin's github page:我是否需要像插件的 github 页面中提到的那样安装插件:
cordova plugin add https://github.com/wymsee/cordova-HTTP.git科尔多瓦插件添加https://github.com/wymsee/cordova-HTTP.git
may you please tell me what should I do step by step to make it work?你能告诉我我应该怎么做才能让它工作?
There are many ways to add plugins.添加插件的方法有很多。 There's an easy way:
有一个简单的方法:
Hopes it'll help you希望能帮到你
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.