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

Support older Android API versions #96

Merged
merged 2 commits into from
Mar 4, 2024
Merged

Support older Android API versions #96

merged 2 commits into from
Mar 4, 2024

Conversation

chvp
Copy link
Owner

@chvp chvp commented Mar 4, 2024

Two main things prevented us from using old API versions:

  • Adaptive icons were introduced with API 26, and I didn't feel like generating binary launcher icons when initially writing this app.
  • We were using the "modern" Java Date APIs, also added to Android in API 26. Hopefully changing this didn't introduce any subtle time-related bugs.

The API version we changed to is the absolute lowest we will ever be able to go; Jetpack Compose doesn't support API versions below 21, and removing the usage of compose would require a full rewrite of the app, which I would definitely not be willing to do.

Fixes #95.

@chvp chvp added the enhancement New feature or request label Mar 4, 2024
@chvp chvp mentioned this pull request Mar 4, 2024
@chvp chvp merged commit f9d132e into main Mar 4, 2024
3 checks passed
@chvp chvp deleted the feat/old-android-api branch March 4, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Android version
1 participant