Plugin issue

when i try to install this ionic plugin add cordova-plugin-geolocation plugin showing an error plugin issue please help me anyone .this problem how cn i fix

Hi,

You need to add ‘cordova’ after ionic.

ionic cordova plugin add cordova-plugin-geolocation --variable GEOLOCATION_USAGE_DESCRIPTION="To locate you"

i have been try but its still showing error.

This is a wrong install request, you need to add ‘cordova’ after ionic.

ionic cordova plugin add cordova-plugin-geolocation --variable GEOLOCATION_USAGE_DESCRIPTION=“To locate you”

See: https://ionicframework.com/docs/native/geolocation/

its still showing error .error

This happened to me the other day. I THINK I just ran

npm uninstall @ionic-native/geolocation

Then reinstalled it with

npm install @ionic-native/geolocation

THEN ran

ionic cordova add cordova-plugin-geolocation --variable what the last guy said

It’s a random temporary bug, not just for @flycoders_sourav