Geolocation Using Volt Builder

I’ve checked the various forums but found no definitive answer. I’m looking for a simple explanation of how to add geolocation to an app (not a web app) using NSB App Studio and Volt Builder. Can someone please help? Thanks.

Add it to your config.xml along with the permissions and then call it as well er the documentation.

My config.xml contains:
<plugin name="cordova-plugin-geolocation" source="npm" spec="4.0.1" > <variable name="GEOLOCATION_USAGE_DESCRIPTION" value="{id} Location use." /> </plugin>

Because I connected the geolocation with maps I had to fill in contentSecurityPolicy as well.