Skip to content

Commit

Permalink
fix migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpatrick committed Jun 1, 2024
1 parent a008a20 commit cf0c836
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
# Migration guides
## 3.11.x to 3.12.x
-`RadarReceiver` interface has been changed to include `onLocationPermissionStatusUpdated` method.

## 3.9.x to 3.10.x
- The `fun searchGeofences( radius: Int, tags: Array<String>?, metadata: JSONObject?, limit: Int?, callback: RadarSearchGeofencesCallback)` method is now `fun searchGeofences( radius: Int?, tags: Array<String>?, metadata: JSONObject?, limit: Int?, includeGeometry, Boolean?, callback: RadarSearchGeofencesCallback)` and `fun searchGeofences( near:Location, radius: Int, tags: Array<String>?, metadata: JSONObject?, limit: Int?, callback: RadarSearchGeofencesCallback)` is now `fun searchGeofences( near:Location, radius: Int?, tags: Array<String>?, metadata: JSONObject?, limit: Int?, includeGeometry, Boolean?, callback: RadarSearchGeofencesCallback)`. `radius` is now optional and `includeGeometry` needs to be set if you wish your returned geofence objects to include the full geometry of polygon geofences.

## 3.12.x to 3.13.x
- The `Radar.trackVerified()` method now returns `token: RadarVerifiedLocationToken`, which includes `user`, `events`, `token,`, `expiresAt`, `expiresIn`, and `passed`. The `Radar.trackVerifiedToken()` method has been removed, since `Radar.trackVerified()` now returns a signed JWT.
Expand Down Expand Up @@ -34,6 +29,12 @@ Radar.trackVerifiedToken { status, token ->
}
```

## 3.11.x to 3.12.x
- The `RadarReceiver` interface has been changed to add a `onLocationPermissionStatusUpdated()` method.

## 3.9.x to 3.10.x
- The `Radar.searchGeofences()` methods have been changed. Use `includeGeometry` to include full geometry of the geofence. Radius is now optional.

## 3.8.x to 3.9.x
- The `Radar.autocomplete(query, near, layers, limit, country, expandUnits, callback)` method is now `Radar.autocomplete(query, near, layers, limit, country, expandUnits, mailable, callback)`.
- `expandUnits` has been deprecated and will always be true regardless of value passed in.
Expand Down

0 comments on commit cf0c836

Please sign in to comment.