awslabs / aws-mobile-appsync-sdk-android

Android SDK for AWS AppSync.
https://docs.amplify.aws/sdk/api/graphql/q/platform/android/
Apache License 2.0
105 stars 58 forks source link

chore: Set proper min sdk of 21 #414

Closed tylerjroach closed 1 year ago

tylerjroach commented 1 year ago

Issue #, if available:

Description of changes: A minimum SDK version of 21 was enforced when upgrading OkHttp in this commit: https://github.com/awslabs/aws-mobile-appsync-sdk-android/commit/83ed788b64e6ed35f42a653243b2e3f6b28bc022.

This means that all versions of the AppSync SDK have had min sdk support of 21 for ~ 3 years. This PR adds minimum support statement and allows builds to fail during compile, rather than runtime.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.