Details
-
Type:
New Feature
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2 Beta
-
Fix Version/s: 1.2 Beta
-
Component/s: Containers
-
Labels:None
-
Environment:ICEmobile, Android
Description
A variety of Android devices appear to support geolocation as a native API, but do not implement the browser JavaScript API for this. A container feature could provide a JavaScript API.
Now using a slightly different approach to the params object for the navigator.geolocation.watchPosition() call:
{ geoParams.maximumAge = maxAge * 1000; }if (maxAge > 0)
This avoid passing 0 for these values which was preventing location updates on iPhone and samsung tablet.