roam-reactnative
Version:
This plugin allows to use the Roam.ai SDK in your React Native mobile application on iOS and Android.
36 lines (27 loc) • 1.2 kB
Markdown
# Migration Guide
## Roam 0.0.25 to Roam 0.0.26
- Location data in location receiver is changed from single location object to list of location updates.
## Roam 0.0.29 to Roam 0.0.30
- Trip data in trip receiver is changed from single trip object to list of trip updates for Android only.
- New parameter added to `Roam.setForegroundNotification()` method.
## Roam 0.0.37 to Roam 0.0.38
- The parameter for distance covered in trip summary method is changed from `distance` to `distanceCovered` for Android. This is to match the iOS trip response.
## Roam 0.0.X to 0.1.0
- The Roam.subscribeTripStatus() method has been renamed to Roam.subscribeTrip()
- The Roam.updateTrip() method is newly added
- The Roam.stopTrip() method has been renamed to Roam.endTrip()
- All the below trips method will use the new trips v2 logic where origins and destinations are called as stops.
- Roam.createTrip()
- Roam.startQuickTrip()
- Roam.startTrip()
- Roam.updateTrip()
- Roam.endTrip()
- Roam.pauseTrip()
- Roam.resumeTrip()
- Roam.syncTrip()
- Roam.getTrip()
- Roam.getActiveTrips()
- Roam.getTripSummary()
- Roam.subscribeTrip()
- Roam.unSubscribeTrip()
- Roam.deleteTrip()