【发布时间】:2016-03-01 17:24:55
【问题描述】:
我们正在使用 MobileFirst Platform 7.1 开发一个项目,我们正在使用带有 cordova 的 mobilefirst-cli 创建一个项目:mfp cordova create。
在我们添加android平台后:mfp cordova platform add android
然后我们添加这个插件:https://github.com/mauron85/cordova-plugin-background-geolocation
使用此命令:mfp cordova plugin add cordova-plugin-mauron85-background-geolocation
我们收到了这条消息:
添加“cordova-plugin-mauron85-background-geolocation”
插件“cordova-plugin-mauron85-background-geolocation”添加成功
但是当我构建我的项目时,我的插件没有添加到 \platforms\android\assets\www\plugins
我们在 P.O.C. 中使用了这个插件。没有 mobilefirst 并且它有效。
如果有人知道这个问题?提前谢谢你。
【问题讨论】:
标签: cordova cordova-plugins ibm-mobilefirst mobilefirst-cli