What are the drawbacks if a dependency uses an old...
# android
h
What are the drawbacks if a dependency uses an older AGP version, eg 4.1, but I use 7.x?
e
normal dependency: none, as long as it behaves properly on your target API (not related to AGP, but if it hasn't been updated then it hasn't kept up with platform behavior changes such as sensor rate-limiting or explicit
android:exported
)
🙏 1
plugins: none yet, but if it's using any now-deprecated APIs it'll break in the near future https://developer.android.com/studio/releases/gradle-plugin-api-updates
h
Thanks, I mean normal dependencies. I thought, R8 or similar optimizations would have some effects.
e
libraries can contain consumer ProGuard rules but those are stable. in general R8 is not applied to libraries but even if they are, the public API must be unobfuscated so that you can use it
h
Thanks