- Android: update default build tools & sdk version
- Android: add vertical accuracy & provider name in location data if available
- Android: rewrite implementation & add support for LocationManager API
- Android: fallback to use LocationManager if Google Play Service is not available
- Android: fix location request on airplane mode
- iOS: add ability to configure showsBackgroundLocationIndicator
- iOS: fix location delay in getCurrentPosition method
- iOS: add
reduced
as an accuracy option
- Fix iOS
pod install
issue.
- Android/iOS: add support for specifying accuracy level
- Android: only trigger error in watchPosition if location service is off
- iOS: new iOS module implementation. Follow this issue for details.
- iOS: Removed
setRNConfiguration
usage & updatedrequestAuthorization
to return promise. - Android: removed permissions from manifest. You have to declare location permission in your main
AndroidManifest.xml
. - Android: update play-services-location version to
17.0.0
.
- Android: emit error if location is unavailable during
watchPosition
call. - Only start timer if timeout is valid.
- Fix ios module warning
- Removed premature check of isLocationEnabled in startObserving
- Android: update android support library to androidx
- Android: fix ApiException handling in getLastLocation method
- Add support for web
- Update location request flow (described here)
- Fix typescript definition
- BREAKING: Switch to
@react-native-community/geolocation
library for iOS implementation (follow iOS setup instruction) - Export
PositionError
constants - Added
forceRequestLocation
flag to request location with only GPS enabled
- Add typescript definition
- Support RN 0.57+
- Added support for project wide gradle properties.
- Added support for tracking location update.
- Fix crash due to illegal callback invocation.
- Added
showLocationDialog
option to control whether to show location dialog if it is disabled.