Skip to content

Releases: radarlabs/capacitor-radar

3.12.1

13 Aug 20:53
3ae9dc8
Compare
Choose a tag to compare
  • Exposes Radar.stopTrackingVerified().

3.12.0

30 Jul 17:19
1ce1499
Compare
Choose a tag to compare
  • Enables remote configuration of SDK behavior, including automatically calling Radar.trackOnce() on app open, and automatically calling Radar.startTracking().
  • Updates Radar.trackVerified() and RadarVerifiedReceiver.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 receiver with Radar.setVerifiedReceiver(), location tokens are also delivered to RadarVerifiedReceiver.onTokenUpdated().
  • Adds layers to Radar.reverseGeocode() and layers, countries to Radar.geocode()
  • Adds an includeGeometry parameter to Radar.searchGeofences().
  • Updates Native SDKs to version 3.16.0.

3.11.0

10 Jul 20:12
1d67168
Compare
Choose a tag to compare
  • Adds Android module namespace for Capacitor 5 and 6 compatibility.

3.10.0

08 Jul 15:27
1618804
Compare
Choose a tag to compare
  • Upgrades from @capacitor/core 3.0.0 to 4.0.0.

3.9.2

08 Apr 20:45
adf0d67
Compare
Choose a tag to compare
  • Upgrades Radar Android SDK to 3.9.8 and iOS SDK to 3.9.14.
  • Improves processing of locations from geofence intents. (Android only)
  • Adds FOREGROUND_SERVICE_LOCATION permission to Android manifest. (Android only)
  • Improves foreground service starting and stopping. (Android only)
  • Improves the reliability of Google Play Integrity API requests. (Android only)
  • Exposes user.failed_fraud and user.arrived_at_wrong_trip_destination event types.
  • Exposes passed, inExclusionZone, inBufferZone, and distanceToBorder on RadarRegion.
  • Exposes inaccurate on RadarFraud.
  • Improves the latency of Radar.trackVerified() calls.
  • Improves significant location change and visit monitoring logic. (iOS only)
  • Increases the amount of nearby geofences monitored. (iOS only)
  • Attaches the privacy manifest in the podspec and package.swift for automatic inclusion in projects using Cocoapods and SPM. (iOS only)
  • Adds jailbreak detection to Radar.trackVerified() and Radar.startTrackingVerified(). (iOS only)
  • Resolves CocoaPods issue. (iOS only)
  • Increases the frequency and accuracy of location updates when desiredAccuracy = high. (iOS only)

3.9.1

14 Feb 18:54
7ab710a
Compare
Choose a tag to compare
  • Upgrades Radar Android SDK to 3.9.5 and iOS SDK to 3.9.7.
  • Adds lifecycle logging methods logTermination() (iOS only), logBackgrounding(), and logResigningActive().
  • Adds setNotificationOptions() for Android and exposes RadarNotificationOptions.
  • Adds isUsingRemoteTrackingOptions().
  • Adds getHost().
  • Adds getPublishableKey().
  • Adds replayed, createdAt, and actualCreatedAt fields to RadarEvent.
  • Adds iconColor and iconString fields to RadarTrackingOptionsForegroundService.

3.9.0

01 Feb 11:03
49abd17
Compare
Choose a tag to compare
  • Upgrades Radar Android SDK to 3.9.3 and iOS SDK to 3.9.5.
  • Adds a beacons param to Radar.trackVerified() and Radar.trackVerifiedToken() to support beacon ranging.
  • Adds Radar.startTrackingVerified(token, interval, beacons), which calls Radar.trackVerified() or Radar.trackVerifiedToken() every interval seconds or on network connection changes and delivers updates to listeners.
  • Adds a token listener for token updates.

3.8.0

11 Dec 20:06
a3e3520
Compare
Choose a tag to compare
  • Upgrades Radar Android SDK to 3.8.17 and iOS SDK to 3.8.11.
  • Adds Radar.trackVerifiedToken().

3.7.3

11 Aug 20:47
12405f4
Compare
Choose a tag to compare
  • Fixes misconfigured Podfile.

3.7.2

21 Jul 18:02
e329152
Compare
Choose a tag to compare
  • Fixes Radar.getTripOptions() and Radar.getTrackingOptions(). See migration guide.
  • Supports location-triggered notifications for Radar events. Set radar:entryNotificationText or radar:exitNotificationText on geofence or beacon metadata to trigger notifications for entry and exit events respectively, and radar:approachingNotificationText and radar:arrivalNotificationText on trip metadata to trigger notifications for approaching and arrival events respectively.
  • Upgrades Radar Android SDK to 3.8.4 and iOS SDK to 3.8.2.
  • Fixes scheduledArrivalAt bug on iOS.
  • Enables logging to be remotely enabled when using a live publishable key.
  • Improves TypeScript definition for RadarAddress.