Skip to content

s4ysolutions/WayTodaySDK-Android

Repository files navigation

WayTodaySDK for Android

Usage

Add the library to the list of dependencies Release

AndroidWayTodayClient wraps the WayTodayClient from WayTodaySDK-Java and provides methods to create and enqueue Workers to request tracker ID and to send location updates.

Create a new instance of AndroidWayTodayClient

       AndroidWayTodayClient androidWayToday = new AndroidWayTodayClient(context, "app id", "app secret", "User visible app id");
       androidWayToday.wtClient.addErrorsListener(wayTodayError -> {});
       androidWayToday.enqueueTrackIdWorkRequest(context)