Skip to content

Conversation

@TimoPtr
Copy link
Member

@TimoPtr TimoPtr commented Sep 16, 2025

Summary

This PR set the min sdk to 23, since some of the dependencies we are using like firebase or even androidx dropped the support for 21 and 22.
This PR cleanup the codebase from all the unneeded checks.

Checklist

  • New or updated tests have been added to cover the changes following the testing guidelines.
  • The code follows the project's code style and best_practices.
  • The changes have been thoroughly tested, and edge cases have been considered.
  • Changes are backward compatible whenever feasible. Any breaking changes are documented in the changelog for users and/or in the code for developers depending on the relevance.

Link to pull request in documentation repositories

User Documentation: home-assistant/companion.home-assistant#1235

Any other notes

Closes #5582

@dshokouhi
Copy link
Member

This PR should also require a docs update. We mention the minimum on the get started page but a few features were android 6 only like the DND sensor

Copy link
Member

@jpelgrom jpelgrom left a comment

Choose a reason for hiding this comment

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

This simplifies or removes a surprising amount of checks!

…istantApplication.kt

Co-authored-by: Joris Pelgröm <jpelgrom@users.noreply.github.com>
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.

Raise minimum SDK version to 23

4 participants