Geolocation getCurrentPosition

i’am using geolocation plugin it work as expected on android
but on IOS not working
in ionic documentaion i have to add this code to config.xml file

<edit-config file="*-Info.plist" mode="merge" target="NSLocationWhenInUseUsageDescription">
   <string>We want your location! Best regards NSA</string>

but i don’t know in which part i put this code i tray put this code in different places but not working
any suggestion please