Skip to content

Releases: radarlabs/react-native-radar

3.15.0

19 Jul 17:56
3730108
Compare
Choose a tag to compare
  • Enables remote configuration of SDK behavior, including starting tracking and automatically calling trackOnce on app open.

3.14.0

16 Jul 14:19
47e50da
Compare
Choose a tag to compare
  • Removes Radar.requestForegroundLocationPermission(), Radar.requestBackgroundLocationPermission(), Radar.openAppSettings(), Radar.getLocationPermissionStatus() and Radar.on('locationPermissionStatus'). See the SDK documentation for guidance on requesting location permissions.

3.13.0

10 Jul 18:47
14bde5e
Compare
Choose a tag to compare
  • Improvements to cross platform compatibility of location permission manager functionality.

3.13.0-beta.1

09 Jul 19:49
Compare
Choose a tag to compare
3.13.0-beta.1 Pre-release
Pre-release
  • Improvements to cross platform compatibility of location permission manager functionality.

3.12.3

25 Jun 15:27
de622e2
Compare
Choose a tag to compare
  • Fixes Radar.stopTrackingVerified().
  • Fixes Radar.getPermissionsStatus() to also return "GRANTED_FOREGROUND" when only coarse location is granted.

3.12.2

24 Jun 21:01
b95d77d
Compare
Choose a tag to compare
  • Adds Radar.stopTrackingVerified().
  • Adds sharing and blocked to RadarFraud type.
  • Improves Radar.isTracking() typing.

3.11.1

21 Jun 18:04
9339b96
Compare
Choose a tag to compare
  • Improves Android getPermissionStatus returning "NOT_DETERMINED" when only coarse location is permitted. Now returns "GRANTED_FOREGROUND".

3.12.1

12 Jun 16:28
efb1502
Compare
Choose a tag to compare
  • Updates the default interval for Radar.startTrackingVerified().
  • Updates the Radar.trackVerified() and Radar.getVerifiedLocationToken() callbacks to include { status, token }.

3.12.0

07 Jun 19:24
72cb410
Compare
Choose a tag to compare
  • Updates Radar.trackVerified() and RadarVerifiedDelegate.didUpdateToken() to return token: RadarVerifiedLocationToken, which includes user, events, token, expiresAt, expiresIn, and passed. Use token.passed to allow or deny access to app features, and optionally send token.token (a signed JWT) to your server to validate the signature.
  • Removes Radar.trackVerifiedToken(), since Radar.trackVerified() now returns a signed JWT.
  • Instead of calling Radar.trackVerified(), which always fetches a fresh location token, you can instead call Radar.getVerifiedLocationToken(), which returns a cached location token immediately if the last location token is still valid, or fetches a fresh location token if not.
  • You can also call Radar.startTrackingVerified() to fetch and cache location tokens in the background automatically on connection changes, on the specified interval, or more frequently if token.expiresIn < interval (based on current state, distance to border, and so on). If you set a delegate with Radar.setVerifiedDelegate(), location tokens are also delivered to RadarVerifiedDelegate.didUpdateToken().
  • Updates Radar.geocode() to accept optional layers and countries parameters.
  • Updates Radar.reverseGeocode() to accept an optional layers parameter.

3.11.0

24 May 17:04
140ffcc
Compare
Choose a tag to compare
  • Improves beacon monitoring logic.