Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove UberButton_DEPRECATED #312

Merged
merged 2 commits into from
Aug 27, 2024
Merged

Conversation

mohssenfathi
Copy link
Contributor

Description

This PR removes the last remaining references to UberButton_DEPRECATED and updates RideRequestButton to match the previous UI. The sample app UberSDK has also been updated to allow manually testing the new button.

Changes

Remove UberButton_DEPRECATED

This UI was deprecated in an earlier PR and was only referenced in RideRequestButton. After migrating RideRequestButton to subclass the new UberButton, UberButton_DEPRECATED could safely be removed.

Sample App

Minor changes were made to the sample all to add the new RideRequestButton and make some more space for UI (AuthResponseView).

Testing

Unit Tests

Existing unit tests for the deprecated UberButton were updated to support the new button

Manual Testing

  1. Run the sample app
  2. Login using a test account in the first section
  3. The last section (Request a Ride Button) should automatically update to the following
Screenshot 2024-08-26 at 1 32 59 PM

@mohssenfathi mohssenfathi marked this pull request as ready for review August 26, 2024 20:52
@mohssenfathi mohssenfathi merged commit c4e92d6 into uber:2.x Aug 27, 2024
4 checks passed
@mohssenfathi mohssenfathi deleted the uber-button branch August 27, 2024 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants