Releases: radarlabs/radar-sdk-android
Releases · radarlabs/radar-sdk-android
3.14.0-beta.3
- Adds remote SDK configuration.
3.13.1
- Exposes
distance
onRadarAddress
. - Introduces support for restricting publishable keys by package. See the documentation for more information.
3.14.0-beta.2
- Adds remote SDK configuration.
3.14.0-beta.1
- Adds remote SDK Configuration.
3.13.1-beta.2
Bump version
3.13.1-beta.1
beta version
3.13.0
- Updates
Radar.trackVerified()
andRadarVerifiedReceiver.didUpdateToken()
to returntoken: RadarVerifiedLocationToken
, which includesuser
,events
,token
,expiresAt
,expiresIn
, andpassed
. Usetoken.passed
to allow or deny access to app features, and optionally sendtoken.token
(a signed JWT) to your server to validate the signature. - Removes
Radar.trackVerifiedToken()
, sinceRadar.trackVerified()
now returns a signed JWT. - Instead of calling
Radar.trackVerified()
, which always fetches a fresh location token, you can instead callRadar.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 specifiedinterval
, or more frequently iftoken.expiresIn < interval
(based on current state, distance to border, and so on). If you set a receiver withRadar.setVerifiedReceiver()
, location tokens are also delivered toRadarVerifiedReceiver.onTokenUpdated()
.
3.13.0-beta.1
fix migration guide
3.12.0
- Adds
Radar.requestForegroundLocationPermission()
,Radar.requestBackgroundLocationPermission()
,Radar.openAppSettings()
, andRadar.getLocationPermissionStatus()
to more easily request location permissions. - Adds
didUpdateLocationPermissionStatus()
toRadarReceiver
. - See the SDK documentation for more info.