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

Adds Donation UI #1191

Merged
merged 1 commit into from
Mar 30, 2024
Merged

Adds Donation UI #1191

merged 1 commit into from
Mar 30, 2024

Conversation

aaronbrethorst
Copy link
Member

In short, this adds a card UI to the map screen that prompts the user to donate money. Tapping "Learn More" will show a new activity that provides more information about why OBA needs money. Tapping "Donate" will open a browser directed at the donations page. Tapping the "X" button will show an alert asking the user if they're willing to donate later potentially.

This UI will only be shown in the main OBA build flavor. White label apps won't show it.

Please make sure these boxes are checked before submitting your pull request - thanks!

  • Apply the AndroidStyle.xml style template to your code in Android Studio.

  • Run the unit tests with gradlew connectedObaGoogleDebugAndroidTest to make sure you didn't break anything

  • If you have multiple commits please combine them into one commit by squashing them for the initial submission of the pull request. When addressing comments on a pull request, please push a new commit per comment when possible (reviewers will squash and merge using GitHub merge tool)

In short, this adds a card UI to the map screen that prompts the user to donate money. Tapping "Learn More" will show a new activity that provides more information about why OBA needs money. Tapping "Donate" will open a browser directed at the donations page. Tapping the "X" button will show an alert asking the user if they're willing to donate later potentially.

This UI will only be shown in the main OBA build flavor. White label apps won't show it.
@aaronbrethorst aaronbrethorst merged commit 4441278 into main Mar 30, 2024
2 checks passed
@aaronbrethorst aaronbrethorst deleted the donations branch March 30, 2024 04:42
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.

1 participant