Releases: radarlabs/radar-sdk-ios
Releases · radarlabs/radar-sdk-ios
3.15.0
- Removes
Radar.requestForegroundLocationPermission()
,Radar.requestBackgroundLocationPermission()
,Radar.openAppSettings()
,Radar.getLocationPermissionStatus()
anddidUpdateLocationPermissionStatus()
. See the SDK documentation for guidance on requesting location permissions.
3.14.0
- Resolves permission request issue.
3.13.5
- Exposes
blocked
andsharing
onRadarFraud
.
3.13.4
- Collects additional data for fraud detection.
- Ignores
CLLocationSourceInformation.isProducedByAccessory
by default.
3.13.3
- Fixes Swift Package Manager releases.
3.13.2
- Exposes
distance
onRadarAddress
. - Introduces support for restricting publishable keys by package. See the documentation for more information.
3.13.1
- Fixes
RadarVerifiedLocationToken
dictionary conversion.
3.13.0
- Updates
Radar.trackVerified()
andRadarVerifiedDelegate.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 delegate withRadar.setVerifiedDelegate()
, location tokens are also delivered toRadarVerifiedDelegate.didUpdateToken()
.
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.
3.12.0-beta.2
Merge branch 'master' into track-verified-callbacks