0.1.0 • Published 9 months ago
react-native-traccar v0.1.0
react-native-traccar
package for traccar
Installation
npm install react-native-traccar
Usage
import {
startTrackingService,
stopTrackingService,
setupTrackingService
} from 'react-native-traccar';
interface SetupOptions {
url: string
deviceId: string
distanceFilter?: number // set 0 to disable, defaults to 0
locationUpdatesIntervalInSeconds?: number // defaults to 600s (10 minutes)
}
setupTrackingService(options: SetupOptions): void
startTrackingService(): void
// ...
stopTrackingService(): void
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library
0.1.0
9 months ago