v0.8.0
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 usesSFAuthenticationSession
,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 viaLoginManager
instead.LoginViewAuthenticator
- initiate the login process viaLoginManager
instead.OAuthViewController
- initiate the login process viaLoginManager
instead.