v0.4.0
Pre-release
Pre-release
Changed
- [BC BREAK]
createDelegatedGeolocation()
now requires apermissionsDelegates
argument, which is aMap
ofGeolocation
delegates to their relatedPermissions
delegates.
Added
- Added
waitForCoordinates()
andcompareCoordinates()
Fixed
- Changing delegates while watching the position no longer causes permission prompts when the selected delegate's
geolocation
permission is in theprompt
state. Instead, the error callback will be called with aPERMISSION_DENIED
error. If the selected delegate'sgeolocation
permission subsequently changes togranted
ordenied
, the watch will resume.