# Geolocation Not working in IOS but working in android

**URL:** <https://forum.ionicframework.com/t/geolocation-not-working-in-ios-but-working-in-android/151347>\
**Category:** ionic-v1\
**Created:** [December 26, 2018, 1:12pm UTC](https://forum.ionicframework.com/t/geolocation-not-working-in-ios-but-working-in-android/151347 "2018-12-26T13:12:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mehthaf](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@mehthaf](https://forum.ionicframework.com/u/mehthaf)\
**Post date:** [December 26, 2018, 1:12pm UTC](https://forum.ionicframework.com/t/geolocation-not-working-in-ios-but-working-in-android/151347/1 "2018-12-26T13:12:27Z")

</div>

i use Ionic cordova geolocation in IOS and Android both . it works fine android apk . in ios it works fine in \*\* ionic serve -c\*\* but not working in Apple Test Flight . it’s very frustating please any body give solution

i added  
\*\* ```  
ionic cordova plugin add cordova-plugin-geolocation --variable GEOLOCATION\_USAGE\_DESCRIPTION=“To locate you”

```auto

then i add info plist in config.xml

**<edit-config file="*-Info.plist" mode="merge" target="NSLocationWhenInUseUsageDescription">
   <string>We use your location for full functionality of certain app features.</string>
</edit-config>**

also seen this in info plist 

even my app does not ask location permission in prompt 
even i enable location services in mobile
```

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:03pm UTC](https://forum.ionicframework.com/t/geolocation-not-working-in-ios-but-working-in-android/151347/2 "2021-07-19T21:03:22Z")

</div>


