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

Feat: Support region-wide alerts #1274

Merged
merged 6 commits into from
Oct 28, 2024
Merged

Feat: Support region-wide alerts #1274

merged 6 commits into from
Oct 28, 2024

Conversation

amrhossamdev
Copy link
Member

@amrhossamdev amrhossamdev commented Oct 27, 2024

Fixes #929, #1255

Key Changes

  • Alerts are now fetched only once when the app opens or the region is switched.
  • Implemented handling for all region-wide functionalities.
  • Added support for translating title, description, and URL fields in alerts.
  • Locally saved read alerts for persistent storage.
  • Migrated Room DB from version 1 to 2; starting from version 2, auto-migrations are supported. The database schema is now exported and will continue to be exported with every new version from 2 onward.

Tasks

  • Test region-wide alert functionalities with different scenarios
  • Verify migration from the beta version containing Room DB version 1 and confirm successful upgrade to version 2.

Todo

  • 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>
Signed-off-by: Amr Hossam <amrhossam.dev@gmail.com>
Signed-off-by: Amr Hossam <amrhossam.dev@gmail.com>
Signed-off-by: Amr Hossam <amrhossam.dev@gmail.com>
Signed-off-by: Amr Hossam <amrhossam.dev@gmail.com>
Signed-off-by: Amr Hossam <amrhossam.dev@gmail.com>
@amrhossamdev amrhossamdev marked this pull request as ready for review October 28, 2024 09:02
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.

Looks good! 👍

@aaronbrethorst aaronbrethorst merged commit f940ff9 into main Oct 28, 2024
2 checks passed
@aaronbrethorst aaronbrethorst deleted the wide-alerts branch October 28, 2024 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support region-wide alerts
2 participants