我们正在使用 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
我们在没有 mobilefirst 的 POC 中使用了这个插件,并且它有效。
如果有人知道这个问题?先感谢您。