radarlabs / react-native-radar

React Native module for Radar, the leading geofencing and location tracking platform
https://radar.com
Apache License 2.0
170 stars 32 forks source link

Expose the new RadarTrackingOptions from SDK 2.1 #47

Closed russellcullen closed 5 years ago

russellcullen commented 5 years ago

This allows users to apply the new options like so:

Radar.startTracking({
  sync: 'all', // or 'possibleStateChanges'
  offline: 'replayStopped' // or 'replayOff'
})