Phonegap Geolocation Api Always Getting Error Code 3
I am using phonegap geolocation API in my phonegap android application.It always shows error code code 3,Timeout error.I am also try to change timeout variable value to increased,e
Solution 1:
Please make sure that you have <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
set in your android manifest.
Solution 2:
I made one mistake in config.xml.Now,I have added
<accessorigin="*"/><accessorigin="*://*.googleapis.com/*"subdomains="true" /><accessorigin="*://*.gstatic.com/*"subdomains="true" /><accessorigin="*://*.google.com/*"subdomains="true" /><accessorigin="*://*.googleusercontent.com/*"subdomains="true" />
in my config.xml file.googlemap geolocation showed successfully
Post a Comment for "Phonegap Geolocation Api Always Getting Error Code 3"