Skip to content

Releases: ezzatron/fake-geolocation

v0.7.0

05 Dec 05:17
v0.7.0
bceaca6
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

Changed

  • Watched positions now receive updates when location services are disabled, and also when they are re-enabled.
  • Watched positions now receive updates when the geolocation permission is re-granted after being revoked.

v0.6.2

28 Nov 05:52
v0.6.2
767f349
Compare
Choose a tag to compare
v0.6.2 Pre-release
Pre-release

Fixed

  • Fixed a race condition that could occur when permission state changes from granted while waiting to acquire coordinates from location services.

v0.6.1

28 Nov 04:36
v0.6.1
6b550e3
Compare
Choose a tag to compare
v0.6.1 Pre-release
Pre-release

Fixed

  • Fixed a linting error in the changelog.

v0.6.0

28 Nov 01:18
v0.6.0
9d7b97a
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

Changed

  • Changing the geolocation permission from granted while watching a position will now cause an immediate call to the error callback with a PERMISSION_DENIED error. This should be ergonomic for testing, as previously you'd have to change the permission and jump to a new location to trigger an error.

v0.5.2

28 Nov 00:21
v0.5.2
328d87c
Compare
Choose a tag to compare
v0.5.2 Pre-release
Pre-release

Fixed

  • Fixed potential race condition that may have been possible to create when watchPosition() is used with an errorCallback, and an error occurs after clearWatch() is called.

v0.5.1

27 Nov 07:20
v0.5.1
e86b725
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release

Fixed

  • Fixed a race condition that could occur with watchPosition() where the success callback could be called after clearWatch() was called.

v0.5.0

27 Nov 04:57
v0.5.0
af52d9f
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

Added

  • Add waitForPositionError()

v0.4.0

23 Nov 06:26
v0.4.0
1fbd8fb
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

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.

v0.3.1

10 Sep 11:34
v0.3.1
fd04ff0
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release

Fixed

  • Fixed a code style issue in a test file.

v0.3.0

10 Sep 11:31
v0.3.0
a0c0d71
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

Added

  • Delegate selection can now be queried with isDelegateSelected().
  • Wrapped APIs can now be queried with isUsingSuppliedAPIs().