A sample app demonstrating how to use the Uber iOS SDK.
In the UberSDK project's Info.plist, replace the ClientID and RedirectURI with your app's values in the Uber Developer's Portal.
Example usage for the UberAuth login class.
Specifies the auth grant flow to use for login. Authorization Code is the only option.
Sets the auth destination for login. .inApp
and .native
are the only options.
If the native Uber app is not installed on the device, .inApp
is used.
Determines if the authorization code should be exchanged locally for an access token
If enabled, the Uber login page will always ask for re-authentication.
If enabled, the user will always have to agree to linking their account.
Allows setting optional values for prefilling user information on the login screen.
Example usage of the LoginButton convenience UI for login / logout.
Example usage of the RideRequestButton convenience UI for requesting a ride. To enable, first log in using either the Login or UberButton section.