Skip to content

Warn users Collect will soon require Android 8+#6927

Merged
seadowg merged 10 commits intogetodk:masterfrom
grzesiek2010:COLLECT-6924
Oct 20, 2025
Merged

Warn users Collect will soon require Android 8+#6927
seadowg merged 10 commits intogetodk:masterfrom
grzesiek2010:COLLECT-6924

Conversation

@grzesiek2010
Copy link
Member

@grzesiek2010 grzesiek2010 commented Oct 9, 2025

Closes #6924

Why is this the best possible solution? Were any other approaches considered?

I’ve added the banner using the old XML layout approach, since it will be removed in v2026.1. For now, it’s more important to easily match the existing style used in components built with newer technologies (Jetpack Compose).

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Nothing special here, the banner should appear on devices running Android 7 or lower and be dismissible as described in the issue.

Do we need any specific form for testing your changes? If so, please attach one.

No.

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No.

Before submitting this PR, please make sure you have:

  • added or modified tests for any new or changed behavior
  • run ./gradlew connectedAndroidTest (or ./gradlew testLab) and confirmed all checks still pass
  • added a comment above any new strings describing it for translators
  • added any new strings with date formatting to DateFormatsTest
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.
  • verified that any new UI elements use theme colors. UI Components Style guidelines

@grzesiek2010 grzesiek2010 force-pushed the COLLECT-6924 branch 3 times, most recently from 0d5f8c9 to ec222e3 Compare October 12, 2025 21:52
@grzesiek2010 grzesiek2010 marked this pull request as ready for review October 12, 2025 22:18
@grzesiek2010 grzesiek2010 requested a review from seadowg October 12, 2025 22:18
@grzesiek2010 grzesiek2010 requested a review from seadowg October 14, 2025 09:19
Copy link
Member

@seadowg seadowg left a comment

Choose a reason for hiding this comment

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

@grzesiek2010 grzesiek2010 marked this pull request as draft October 15, 2025 08:48
@grzesiek2010 grzesiek2010 requested a review from seadowg October 15, 2025 11:02
@grzesiek2010 grzesiek2010 marked this pull request as ready for review October 15, 2025 11:02
Copy link
Member

@seadowg seadowg left a comment

Choose a reason for hiding this comment

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

We should add some margins to the banner right @alyblenkin?

Image

My guess is it should have left and right margin_standard margins.

@alyblenkin
Copy link
Collaborator

As @lognaturel and I were working on the messaging around this update for the forum, we discussed maybe making this banner message shorter. Should we just update the copy at the end?

Starting in v2026.1, ODK Collect requires Android 8+. This device won’t be able to upgrade.

@grzesiek2010
Copy link
Member Author

@alyblenkin
You mean:

Your device will soon no longer be supported.
Starting in v2026.1, ODK Collect requires Android 8+. This device won’t be able to upgrade.

?

@alyblenkin
Copy link
Collaborator

@grzesiek2010 we are trying to simplify the messaging so the title and subtext aren't repetitive. However, I do think the bold text helps with readability. @lognaturel does that work for you?

Your device will soon no longer be able to upgrade.
Starting in early 2026, ODK Collect requires Android 8+.

@grzesiek2010 grzesiek2010 requested a review from seadowg October 17, 2025 10:05
@dbemke
Copy link

dbemke commented Oct 20, 2025

Tested with Success!

Verified cases:

  • banner on Android 5.1, 7.1.1
  • no banner on Andorid 8.1, 10, 16

@seadowg seadowg merged commit 051e164 into getodk:master Oct 20, 2025
6 checks passed
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.

Warn users Collect will soon require Android 8+

4 participants