Skip to content

v0.8.0

Compare
Choose a tag to compare
@edjiang edjiang released this 28 Nov 18:57
· 129 commits to develop since this release
69caf02

0.8 separates the Uber Rides SDK into two modules, UberRides and UberCore. It also contains a number of authentication-related changes to simplify the Login with Uber flows.

When migrating to 0.8, you may need to add import UberCore to files previously importing just UberRides, and rename usage of some classes below.

Changes

  • LoginManager now uses SFAuthenticationSession, SFSafariViewController, or external Safari for web-based OAuth flows.
  • Deeplinking protocol simplified. Public properties from the previous protocol is now available under the .url property.
  • UberAuthenticating protocol simplified.
  • AccessToken adds two new initializers intended to make custom OAuth flows easier. Fixes Issue #187

Moved to UberCore

  • Configuration
  • TokenManager
  • RidesAppDelegate -> UberAppDelegate
  • UberAPI -> APIEndpoint
  • RidesError -> UberError
  • RidesScope -> UberScope
  • Deeplinking, BaseDeeplink, AppStoreDeeplink, AuthenticationDeeplink
  • UberAuthenticating, BaseAuthenticator, AuthorizationCodeGrantAuthenticator, ImplicitGrantAuthenticator, NativeAuthenticator
  • UberButton
  • UBSDKConstants

Removed

  • LoginView - initiate the login process via LoginManager instead.
  • LoginViewAuthenticator - initiate the login process via LoginManager instead.
  • OAuthViewController - initiate the login process via LoginManager instead.