How to update a cord plugin device in my meteor project?

When I run my meteor project, I have this warning:

WARNING: Attempting to install the cordova-plugin-device@0.3.0 plugin , but it must have a minimum version of 1.1.1 to ensure compatibility with current versions of the platform. Setting the minimum for convenience, but you must configure your dependencies.

And then I have this error:

I20160401-19: 50: 43.017 (2)? E / MeteorWebApp (19633): com.meteor.webapp.WebAppException: skip downloading the new version because the Cordoba platform version or plugin versions have changed and are potentially incompatible

How to update cordova-plugin-device plugin?

+4
source share
2 answers

In the project folder Meteor.meteor create the cordova-plugins file and insert the line cordova-plugin-device@1.1.1 ... the meteor will be rebuilt with this version

+5
source

I uninstalled and re-added the Android, in my case, mobile platform:

meteor remove-platform android
meteor add-platform android

This fixed the bug for me.

+4
source

All Articles