Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 573 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 573 Bytes

React native ondrive sdk

OnDrive is an SDK which allows location tracking.

SDK Installation

npm install ondrive --save

An API Key Must Required.

import OnDrive from 'ondrive'
objLocationUpdate.DebuggerMode = true; //Default False.
objLocationUpdate.APIKey = ''; //Must Required.
objLocationUpdate.contactInfo = '';
objLocationUpdate.updateAfterInSeconds = 5 //Default 3 Seconds.
//On action start.
objLocationUpdate.start(); // Start tracking.

//On action stop.
objLocationUpdate.stop // Stop tracking.

Hurrah!!
Tracking will start automatically.