Reputation: 143
After installing Ionic last version 3.1.2 I tried to add the Native Geolocation plugin and I got the following:
ionic plugin add cordova-plugin-geolocation
The plugin command has been renamed. To find out more, run:
ionic cordova plugin --help
I will appreciate any help on this.
Thanks in advance
Upvotes: 5
Views: 4761
Reputation: 29624
According to the docs, the command for ionic cli version 3 is:
ionic cordova plugin add cordova-plugin-geolocation
Upvotes: 19