transistorsoft / cordova-background-geolocation-SampleApp

Cordova Background Geolocation Sample Application
https://www.transistorsoft.com/shop/products/cordova-background-geolocation
MIT License
122 stars 78 forks source link

Dependency error with cordova-plugin-background-fetch #96

Open BPMASSTEAM opened 6 years ago

BPMASSTEAM commented 6 years ago

Hiya, I just reinstalled the demo app from scratch and ran ionic cordova prepare android

And got Failed to install 'cordova-background-geolocation-lt': CordovaError: Version of installed plugin: "cordova-plugin-background-fetch@5.2.0" does not satisfy dependency plugin requirement "cordova-plugin-background-fetch@~5.1.1".

SampleApp config.xml <plugin name="cordova-plugin-background-fetch" spec="^5.1.1" /> SampleApp package.json "cordova-plugin-background-fetch": "^5.1.1",

cordova-background-geolocation-lt plugin.xml <dependency id="cordova-plugin-background-fetch" version="~5.1.1" />

cordova-plugin-background-fetch plugin.xml version="5.2.0"

Looks like you recently bumped cordova-plugin-background-fetch to 5.2.0? I have manually corrected SampleApp config.xml and package.json to =5.1.1 for now - just letting you know!

Cheers, Cathy

christocracy commented 6 years ago

I’m working on an Android implementation for background-fetch,

5.2.0 contains the new Android implementation.

Nothing changed for iOS.