Back to Browse

Cordova Geolocation Plugin and Permissions

12.7K views
Mar 26, 2019
2:57

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

Download

1 formats

Video Formats

360pmp44.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Cordova Geolocation Plugin and Permissions | NatokHD