diff --git a/MIGRATION.md b/MIGRATION.md index fab75526..3dc1f771 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -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?, metadata: JSONObject?, limit: Int?, callback: RadarSearchGeofencesCallback)` method is now `fun searchGeofences( radius: Int?, tags: Array?, metadata: JSONObject?, limit: Int?, includeGeometry, Boolean?, callback: RadarSearchGeofencesCallback)` and `fun searchGeofences( near:Location, radius: Int, tags: Array?, metadata: JSONObject?, limit: Int?, callback: RadarSearchGeofencesCallback)` is now `fun searchGeofences( near:Location, radius: Int?, tags: Array?, 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. @@ -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.