Skip to content

v0.5.0

Compare
Choose a tag to compare
@tyvsmith tyvsmith released this 02 Jun 22:57
· 83 commits to master since this release

Uber Rides API Java SDK (Beta) v0.5.0 - 06/02/2016
This release sets up the Java SDK for the Uber Android SDK to utilize it as a third party dependency by adding common interfaces and removing heavier weight components.

Added

SessionConfiguration

SessionConfiguration is a new class to hold on to client information for authentication. This is used by underlying components.

UberRidesApi

UberServices has been replaced with UberRidesApi, which uses a Session to construct Api Services

Sessions

AccessTokenSession, ServerTokenSession, and CredentialSession have been added for the three types of authentication.

AccessTokenStorage

A common interface to store access tokens

RidesService

Replaces UberRidesSyncService and UberRidesAsyncService with a Retrofit 2 based API Service. Both sync and async can be utilized directly on the resulting Call<T>

Changed

- Split packaging into core and rides
- `Oauth2Credentials` now accepts a `SessionConfiguration`
- Updated from Retrofit 1 to Retrofit 2
- Updated from OkHttp2 to OkHttp3
- Removed Gauva dependency

Breaking

  • Removed UberServices in favor of UberRidesApi
  • Removed UberRidesSyncService and UberRidesAsyncService in favor of RidesService
Download Description
cmdline-sample Command line sample
servlet-sample Servlet sample