-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Description
I ve set up the button like that
val config = SessionConfiguration.Builder()
.setClientId("xxx")
.setClientSecret("xxx")
.setEnvironment(SessionConfiguration.Environment.SANDBOX)
.build()
val session = ServerTokenSession(config)
val rideParams = RideParameters.Builder()
.setProductId("a1111c8c-c720-46c3-8534-2fcdd730040d")
.setDropoffLocation(37.775304, -122.417522, "Uber HQ", "1455 Market Street, San Francisco")
.setPickupLocation(37.775304, -122.417522, "Uber HQ", "1455 Market Street, San Francisco")
.build()
val rideRequestButton = view as RideRequestButton
rideRequestButton.setRideParameters(rideParams)
rideRequestButton.setSession(session)When I press the button the uber app launches in the main screen
Library version: 0.10.9
Expected Behavior: Open the "plan your ride" screen and prefill the pickup and drop off locations
Metadata
Metadata
Assignees
Labels
No labels