mapbox / mapbox-gestures-android

The Mapbox Gestures for Android library makes it easy to detect and handle user gestures on an Android device.
https://docs.mapbox.com/android/maps/overview/gestures/
Other
28 stars 24 forks source link

Increase minSDK to 19 and remove obsolete androidX Core dependency #105

Closed jush closed 11 months ago

jush commented 11 months ago

It turns out that the only thing we were using from androidX Core library was GestureDetectorCompat.

And GestureDetectorCompat it is only meaningful if we support Android <=18 (JELLY_BEAN_MR2). Otherwise, the system GestureDetector can be used (see here and here)

This PR proposes increasing the min SDK to 19. This is also aligned with androidX libraries recent announcement to support Android 19 or above only: https://android-developers.googleblog.com/2023/10/androidx-minsdkversion-19.html

This PR also decreases compile SDK version to 30. Which, for the time being, requires force downgrading android X core from Maps SDK Android to 1.6.0.