i am using geolocation plugin to get current user position
it work as expected in android but in IOS it give me 0 latitude and 0 longitude
any help please
thanks
i am using geolocation plugin to get current user position
it work as expected in android but in IOS it give me 0 latitude and 0 longitude
any help please
thanks
In iOS you need to add this item to config.xml file
<edit-config file="*-Info.plist" mode="merge" target="NSLocationWhenInUseUsageDescription">
<string>We want your location! Best regards NSA</string>
</edit-config>
thanks for your replay but where i put this item config.xml or index.html ?
The use it on config.xml
can you tell me please where to put this code in config.xml file ?
Before platform(android and ios)…tags
thanks for your help , now IOS work as expected but it stopped in android
It should be added inside the ios platform tag in config.xml