You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/10/23 07:28:39 UTC

[GitHub] [cordova-plugin-geolocation] rinvil opened a new issue #180: Can't get location on IOS devices

rinvil opened a new issue #180: Can't get location on IOS devices
URL: https://github.com/apache/cordova-plugin-geolocation/issues/180
 
 
   # Bug Report
   
   ## Problem
   When I test my cordova app on my ipad and iphone5S, I can't get position. Nothing happens
   
   ### What is expected to happen?
   When I press my button, the app should get my position and show it. 
   
   
   ### What does actually happen?
   Nothing. On android app it works well
   
   
   ## Information
   In my config.xml, I configure the location for IOS like that. I tried the both way :
   ```
   <platform name="ios">
   
       <edit-config  platform="ios"  target="NSLocationWhenInUseUsageDescription" file="*-Info.plist" mode="merge">
   	    <string>Cette application nécessite votre localisation pour trouver les événements proches.</string>
   	</edit-config>
   
   	<edit-config target="NSLocationWhenInUseUsageDescription" file="*-Info.plist" mode="merge">
           <string>Cette application nécessite votre localisation pour trouver les événements proches.</string>
       </edit-config>
       
   </platform>
   ```
   
   
   ### Environment, Platform, Device
   I test on Ipad Pro and Iphone5s
   
   
   ### Version information
   Phonegap Build
   Cli 8.0.0
   cordova-plugin-geolocation 4.0.1
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org