android
android copied to clipboard
Jackson 2.14+ requires higher minimum SDK level
Is your feature request related to a problem? Please describe.
Jackson, which is used for JSON (de)serialization, requires a minimum SDK level of 26 for version 2.14+. The app's minimum SDK level is currently 21.
Jackson's 2.13 branch will remain supported until at least the end of 2023, but the app should make sure it's using a supported library for critical functionality like this.
Describe the solution you'd like
- Increase the app's minimum SDK level (which isn't a bad idea anyway considering how long it's been at 21, though 21->26 is quite a big increase)
and/or
- Switch to another library for JSON (de)serialization like Gson or Moshi (check minimum SDK level and plans for change first)
Describe alternatives you've considered, if any
Additional context
#3077, #3489
Looks like Retrofit 2.10 adds support for kotlinx.serialization - would this be a good candidate for replacement, as it supports whatever Kotlin supports and we're already using Kotlin anyway? I kind of like the idea of less orgs who can make dependencies difficult for us.
I kind of like the idea of less orgs who can make dependencies difficult for us.
I agree on this.
Sounds like a good plan