I am using the excellent background geolocation plugin on an Ionic project. Unfortunately Apple don\'t think my usage is valid enough so I have to work out how to add this plugi
Maybe use plugman to add plugin for specific platform:
First,install plugman
:
$ npm install -g plugman
And then, add plugin:
$ plugman install --platform --project --plugin
for your situation,
should be platforms/android
, so the finally installation command is:
$ plugman install --platform android --project platforms/android --plugin https://github.com/mauron85/cordova-plugin-background-geolocation.git
More about plugman
, refer to cordova plugman docs.Hope this will help, regards.