-
-
Notifications
You must be signed in to change notification settings - Fork 457
Closed
Labels
Description
Description
Releases 8.19 and 8.19.1 are incompatible with API levels less than 26.
Normally, integration tests would be a place to detect unsupported API calls. Our integration tests use Maestro, which has a minimum API level of 26: mobile-dev-inc/Maestro#935.
We could add a Gradle plugin like de.thetaphi.forbiddenapis
to catch the use of JDK APIs that are unsupported in API level 21 (or above). We would have to investigate which JDK APIs are available in old API levels through de-sugaring. Only the remaining JDK APIs should be blocked, such as APIs related to named groups that were used in versions 8.19 of the Sentry SDK.
lcian