rides-ios-sdk v0.4.0 Release Notes

Release Date: 2016-04-11 // about 8 years ago
  • โž• Added

    ๐Ÿ”ง Configuration

    ๐Ÿ”ง Handles SDK Configuration, including ClientID and RedirectURI. Values are pulled from your app's Info.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 the RideParametersBuilder to easily create RideParameters objects

    โšก๏ธ RideRequestButton Updates

    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

    ๐Ÿ›  Fixed

    • Issue #13 Using CLLocation for ride parameters
    • Issue #16 Added new Uber logo for RideRequestButton

    ๐Ÿ’ฅ Breaking

    • ClientID must now be set in your app's Info.plist under the UberClientID key
    • RequestButton --> RideRequestButton
      • Removed init(colorStyle: RequestButtonColorStyle) use init(rideParameters: RideParameters, requestingBehavior: RideRequesting)
      • Removed all setting parameter methods (setPickupLocation(), setDropoffLocation(), ect) use a RideParameters object instead
      • Removed RequestButtonError, only used to indicate no ClientID which is now handled by Configuration
      • uberButtonTapped() no longer public
    • RequestDeeplink
      • Removed init(withClientID: String, fromSource: SourceParameter) use init(rideParameters: RideParameters) instead
      • Removed all setting parameter methods (setPickupLocation(), setDropoffLocation, ect) use a RideParameters object instead
      • SourceParameter removed
    • โœ‚ Removed Carthage support