This repository has been archived on 2022-03-12. You can view files and clone it, but cannot push or open issues or pull requests.
2021-04-02 02:24:13 +03:00

4.5 KiB
Raw Permalink Blame History

Changelog

Unpublished

🛠 Breaking changes

🎉 New features

🐛 Bug fixes

10.0.0 — 2020-11-17

🛠 Breaking changes

  • Make background location an opt-in permission on Android. (#10989 by @bycedric)

9.0.1 — 2020-10-02

🐛 Bug fixes

9.0.0 — 2020-08-18

🛠 Breaking changes

  • Add scope field in returned value to indicate whether background permissions are granted. Add android.accuracy field to determine whether coarse or fine location permission is granted. (#9446 by @mczernek)
  • getLastKnownPositionAsync no longer rejects when the last known location is not available now it returns null. (#9251 by @tsapeta)
  • Removed the deprecated enableHighAccuracy option of getCurrentPositionAsync. (#9251 by @tsapeta)
  • Removed maximumAge and timeout options from getCurrentPositionAsync  it's been Android only and the same behavior can be achieved on all platforms on the JavaScript side. (#9251 by @tsapeta)
  • Made type and enum names more consistent and in line with our standards — they all are now prefixed by Location. The most common ones are still accessible without the prefix, but it's not the recommended way. (#9251 by @tsapeta)
  • geocodeAsync and reverseGeocodeAsync no longer falls back to Google Maps API on Android. (#9444 by @tsapeta)

🎉 New features

  • Added missing altitudeAccuracy to the location object on Android (requires at least Android 8.0). (#9251 by @tsapeta)
  • Improved support for Web — added missing methods for requesting permissions and getting last known position. (#9251 by @tsapeta)
  • Added maxAge and requiredAccuracy options to getLastKnownPositionAsync. (#9251 by @tsapeta)
  • Google Maps Geocoding API can now be used on all platforms with the new useGoogleMaps option. (#9444 by @tsapeta)
  • Added district, subregion and timezone values to reverse-geocoded address object. (#9444 by @tsapeta)

🐛 Bug fixes

  • Fixed different types being used on Web platform. (#9251 by @tsapeta)
  • getLastKnownPositionAsync no longer requests for the current location on iOS and just returns the last known one as it should be. (#9251 by @tsapeta)
  • Fixed getCurrentPositionAsync not resolving on Android when the lowest accuracy is used. (#9251 by @tsapeta)
  • Fixed LocationGeocodedAddress type to reflect the possibility of receiving null values. (#9444 by @tsapeta)

8.3.0 — 2020-07-16

🐛 Bug fixes

  • Added some safety checks to prevent NullPointerExceptions in background location on Android. (#8864 by @mczernek)
  • Add isoCountryCode to Address type and reverse lookup. (#8913 by @bycedric)
  • Fix geocoding requests not resolving/rejecting on iOS when the app is in the background or inactive state. It makes it possible to use geocoding in such app states, however it's still discouraged. (#9178 by @tsapeta)

8.2.1 — 2020-05-29

This version does not introduce any user-facing changes.

8.2.0 — 2020-05-27

This version does not introduce any user-facing changes.