- Issue #31 Multiple warnings "Ignoring InnerClasses attribute for an anonymous inner class" when building project
- [Issue #21] (uber#21) Remove sdk folder
- [Issue #23] (uber#23) Add additional error logging when invalid app signature is returned.
- [Issue #24] (uber#24) Remove product Id requirement for Ride Request Button
Introducing SSO. Allows a user to login & authorize your application via the native Uber app. Users no longer have to remember their username & password as long as they are signed into the Uber app.
- Added Uber Application Single Sign On using
LoginManager.login(activity)
- Added
LoginButton
to ease signing in using Uber account. - Added
PRIVILEGED
scopes toScope
.
- Added dependency on Uber Rides Java SDK to access the Uber API.
Now split into the core-android
and rides-android
libraries.
core-android
contains common classes and auth related functionality.rides-android
contains only rides related features.
The RideRequestButton has been updated to show information about your Uber ride.
- Added ETA and Price estimate to
RideRequestButton
if a product ID is set in the RideParameters.
- Moved core functionality and authentication related classes to
core-android
and the Java SDK. Imports require updating. - Removed
UberSdk.initialize(context, clientId)
and allUberSdk
setters in favor ofUberSdk.initialize(sessionConfiguration)
- Removed
LoginManager.loginWithScopes(activity, scopes)
in favor ofLoginManager.login(activity)
after usingnew LoginManager(accessTokenManager, callback)
- Removed
AccessTokenManager.getAccessToken(key)
andAccessTokenManager.setAccessToken(key, token)
in favor ofnew AccessTokenManager(context, key)
- Removed
LoginManager.onActivityResult(requestCode, resultCode, data, callback)
in favor ofLoginManager.onActivityResult(activity, requestCode, resultCode, data)
- [Issue #18] (uber#18) Unable to signup in widget
- [Issue #13] (uber#13) Android Studio preview not working
- [Issue #15] (uber#15) RideRequestView correctly handles redirecting to call or message the driver
Now used to initialize the Uber SDK with configuration information, including ClientID
and RedirectURI
.
Added implicit grant (i.e. token) login authorization flow for non-privileged scopes (profile, history, places, ride_widgets)
- Added
LoginActivity
&LoginView
- Added
LoginManager
to handle login flow - Added
AccessTokenManager
to handle access token management
Introducing the Ride Request Widget. Allows for an end to end Uber experience without leaving your application.
- Requires the
RIDE_WIDGETS
scope RideRequestButton
can be used withRideRequestActivityBehavior
to send the user toRideRequestActivity
RideRequestActivity
for easy implementation that handles presenting login to the user- Base view is
RideRequestView
RequestButton
has been renamed to RideRequestButton
RideRequestButton
now works by using a RideParameters
and a RequestingBehavior
. The RideParameters
defines the parameters for the ride and the requestingBehavior
defines how to execute it.
Currently available requestingBehaviors
are:
DeeplinkRequestingBehavior
- Deeplinks into the Uber app to request a ride
RideRequestViewRequestingBehavior
- Presents the Ride Request Widget modally in your app to provide and end to end Uber experience
- [Issue #1] (uber#1) Renamed custom attribute
style
toub__style
- [Pull #6] (uber#6) Updated Gradle Plugin to 2.0
- [Pull #7] (uber#7) Updated Gradle Wrapper to 2.12
- [Pull #8] (uber#8) Removed Guava dependency
- [Pull #9] (uber#9) Removed Google HTTP Client dependency
- [Issue #11] (uber#11) Added new Uber logo for
RideRequestButton
- [Issue #14] (uber#14) Updated README
ClientID
must now be used to initialize theUberSdk
RequestButton
-->RideRequestButton
- Removed custom attribute
client_id
useUberSdk.initialize
- Renamed custom attribute
style
toub__style
- Removed custom attribute
RideParameters
- Now accepts
double
instead offloat
for location information
- Now accepts
- Localization of request button text for zh-rCN.
- Initial version.