This video covers how to add the geolocation plugin to a Cordova app, as well as the basic code and what you have to do to get the permissions working for Geolocation in Cordova.
Special note is made about the geolocation permissions for iOS.
In the XML sample below, note that the angle brackets had to be removed in the description. You will have to add those back yourself.
Code GIST: https://gist.github.com/prof3ssorSt3v3/ddf2f0ab95a0010bd0f3bbfe664716ac
cordova plugin add cordova-plugin-geolocation
edit-config file="*-Info.plist" mode="merge" target="NSLocationWhenInUseUsageDescription"
string need location access to find things nearby /string
/edit-config