rides-ios-sdk v0.4.0 Release Notes
Release Date: 2016-04-11 // about 8 years ago-
โ Added
๐ง Configuration
๐ง Handles SDK Configuration, including
ClientID
andRedirectURI
. Values are pulled from your app'sInfo.plist
LoginManager / Implicit Grant flow
โ Added implicit grant (i.e. token) login authorization flow for non-privileged scopes (profile, history, places, ride_widgets)
- โ Added
OAuthViewController
&LoginView
- โ Added
LoginManager
to handle login flow - โ Added
TokenManager
to handle access token management
Ride Request Widget
Introducing the Ride Request Widget. Allows for an end to end Uber experience without leaving your application.
- Requires the
ride_widgets
scope - Base view is
RideRequestView
RideRequestViewController
&ModalRideRequestViewController
for easy implementation that handles presenting login to the user
RideParameters
All ride requests are now specified by a
RideParameters
object. It allows you to set pickup/dropoff location, nickname, formatted address & product ID. Use theRideParametersBuilder
to easily createRideParameters
objectsโก๏ธ RideRequestButton Updates
RequestButton
has been renamed toRideRequestButton
RideRequestButton
now works by using aRideParameters
and aRequestingBehavior
. TheRideParameters
defines the parameters for the ride and therequestingBehavior
defines how to execute it. Currently availablerequestingBehaviors
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
๐ Fixed
๐ฅ Breaking
ClientID
must now be set in your app'sInfo.plist
under theUberClientID
keyRequestButton
-->RideRequestButton
- Removed
init(colorStyle: RequestButtonColorStyle)
useinit(rideParameters: RideParameters, requestingBehavior: RideRequesting)
- Removed all setting parameter methods (
setPickupLocation()
,setDropoffLocation()
, ect) use aRideParameters
object instead - Removed
RequestButtonError
, only used to indicate noClientID
which is now handled byConfiguration
uberButtonTapped()
no longer public
- Removed
RequestDeeplink
- Removed
init(withClientID: String, fromSource: SourceParameter)
useinit(rideParameters: RideParameters)
instead - Removed all setting parameter methods (
setPickupLocation()
,setDropoffLocation
, ect) use aRideParameters
object instead SourceParameter
removed
- Removed
- โ Removed Carthage support
- โ Added