Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BPMASSTEAM opened this issue Jan 19, 2018 · 1 comment
Open

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

BPMASSTEAM opened this issue Jan 19, 2018 · 1 comment

Comments

@BPMASSTEAM
Copy link

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: "[email protected]" 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
Copy link
Member

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

5.2.0 contains the new Android implementation.

Nothing changed for iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants