Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 758 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 758 Bytes

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)