Hello!
Sorry, but you didn't answer the question if you have changed permissions in App Settings--Android Permissions tab? It is important because edited permissions might cause this problem.
Hello!
Sorry, but you didn't answer the question if you have changed permissions in App Settings--Android Permissions tab? It is important because edited permissions might cause this problem.
I did change the permissions, but not the permissions about location:
ACCESS_COARSE_LOCATION = true
ACCESS_FINE_LOCATION =true
ACCESS_LOCATION_EXTRA_COMMANDS = true
Just to test please try to set permissions to default ones and see if it helps. Please let us know result.
that didn't help
It doesn't work in de tester-app either (which has default permissions)
Please clarify what device and Android version you use? Also share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and post it's name.
the app is shared
I use a Galaxy Nexus with android 4.2.1, but the same behaviour is observed on other phones.
name of the app is AIDAPP
Thank you! We need to test it. Testing might take some time.
Hi Sjef.
Here is an description of input parameters(described in this document http://docs.phonegap.com/en/3.3.0/cor... ):
precode
enableHighAccuracy: Provides a hint that the application needs the best possible results. By default, the device attempts to retrieve a Position using network-based methods. Setting this property to true tells the framework to use more accurate methods, such as satellite positioning. (Boolean)
timeout: The maximum length of time (milliseconds) that is allowed to pass from the call to geolocation.getCurrentPosition or geolocation.watchPosition until the corresponding geolocationSuccess callback executes. If the geolocationSuccess callback is not invoked within this time, the geolocationError callback is passed a PositionError.TIMEOUT error code. (Note that when used in conjunction with geolocation.watchPosition, the geolocationError callback could be called on an interval every timeout milliseconds!) (Number)
maximumAge: Accept a cached position whose age is no greater than the specified time in milliseconds. (Number)
/code/pre
It's needed some time to get information about current location. (see info about cold and hot start).
Currently in your app you have default timeout = 500. http://prntscr.com/3le3ok/direct
So please increase this with value 54000 (15min) and try again.
Regards.
even increasing it more (120,000 milliseconds) did not work.
Geolocalization does work on iOS