Skip to content

Clearly define and document minimum support API level #546

@baywet

Description

@baywet

related #542
related #286
related #530

There's a number of instances where we are using runtime APIs that are not available in Android, or only available for specific API levels and up. Saying "this library requires java X" is not enough as not all java 8 APIs are available on android to this day and desugaring won't bring those APIs to a specific API level.
During this evaluation we should consider downstream libraries, market shares of different android versions, and code of "writing legacy code/workarounds".
Once an API level is selected, we need to hunt for any transgression and set tooling to check for use of APIs unavailable for a specific API level. (static analysis)
This should be possible via the android configuration in build.gradle which should warn about any transgression once configured.

AB#6385

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions