Ran cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
 to install geolocation plugin