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

Fixed #1179 - Supported adding custom region using deep-links #1182

Conversation

amrhossamdev
Copy link
Member

@amrhossamdev amrhossamdev commented Mar 19, 2024

Added #1179 - deep-link support for adding custom region

Details

  • Validation for adding a oba-url
  • Validation for adding a otp-url

if oba-url is empty we don't do anything. Same as otp-url

Field name is not required for Android.

Video showing adding a valid oba-url and otp-url

valid-link.webm

Video showing adding a invalid oba-url and otp-url

invalid-link.webm

Checks

  • 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)

Signed-off-by: Amr Hossam <amrhossam.dev@gmail.com>
Copy link
Member

@aaronbrethorst aaronbrethorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to see a minor code style change implemented, but otherwise 🚀

<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />

<data
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Signed-off-by: Amr Hossam <amrhossam.dev@gmail.com>
Copy link
Member

@aaronbrethorst aaronbrethorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work! this looks great!

@aaronbrethorst aaronbrethorst merged commit b67e8f5 into OneBusAway:main Mar 27, 2024
2 checks passed
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