Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update cordova-plugin-device in my meteor project?

When i run my meteor project, i have this Warning:

WARNING: Attempting to install plugin [email protected], but it should have a minimum version of 1.1.1 to ensure compatibility with the current platform versions. Installing the minimum version for convenience, but you should adjust your dependencies.

And then, I have this error:

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

How to update cordova-plugin-device plugin ?

like image 409
user3415686 Avatar asked Jan 06 '23 08:01

user3415686


2 Answers

In Meteor project folder .meteor create a file cordova-plugins and insert the line [email protected]... meteor will rebuild with that version

like image 188
NoveltySA Avatar answered Feb 04 '23 11:02

NoveltySA


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

meteor remove-platform android
meteor add-platform android

That fixed the error for me.

like image 32
hcvst Avatar answered Feb 04 '23 09:02

hcvst