Integration

Now let’s witness the magical spells

  • Initiate our SDK by adding the following code snippet in your Appdelegate class

let teliver=TeliverSettings.init(withAppKey: "TELIVER_KEY")
Teliver.init(withTeliverSettings: teliver)

Note: You can get the Teliver key from our dashboard.

  • Next, setting-up the consumer side in order to receive location updates.

let startTracking = TeliverTracker.init(forTrackingId: "Tracking_Id")
Teliver.startTrackingFor(user: startTracking, withNavigationTitle: "Location Tracking")

Note: The Tracking_Id here is same as the id you given in previous step of operator start trip.

Ref: The above view will appear on calling startTracking Yay!! That’s all... Now you can track an Operator.

Last updated