4.5 KiB
4.5 KiB
Changelog
Unpublished
🛠 Breaking changes
🎉 New features
🐛 Bug fixes
10.0.0 — 2020-11-17
🛠 Breaking changes
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. Addandroid.accuracy
field to determine whethercoarse
orfine
location permission is granted. (#9446 by @mczernek) getLastKnownPositionAsync
no longer rejects when the last known location is not available – now it returnsnull
. (#9251 by @tsapeta)- Removed the deprecated
enableHighAccuracy
option ofgetCurrentPositionAsync
. (#9251 by @tsapeta) - Removed
maximumAge
andtimeout
options fromgetCurrentPositionAsync
– 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
andreverseGeocodeAsync
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
andrequiredAccuracy
options togetLastKnownPositionAsync
. (#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
andtimezone
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 receivingnull
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
toAddress
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.