Skip to content

v0.4.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 23 Nov 06:26
· 144 commits to main since this release
v0.4.0
1fbd8fb

Changed

  • [BC BREAK] createDelegatedGeolocation() now requires a permissionsDelegates argument, which is a Map of Geolocation delegates to their related Permissions delegates.

Added

  • Added waitForCoordinates() and compareCoordinates()

Fixed

  • Changing delegates while watching the position no longer causes permission prompts when the selected delegate's geolocation permission is in the prompt state. Instead, the error callback will be called with a PERMISSION_DENIED error. If the selected delegate's geolocation permission subsequently changes to granted or denied, the watch will resume.