airbnb / lottie-android

Render After Effects animations natively on Android and iOS, Web, and React Native
http://airbnb.io/lottie/
Apache License 2.0
34.95k stars 5.4k forks source link

Lottie broke binary compat from 6.2.0 to 6.3.0 #2448

Closed efemoney closed 6 months ago

efemoney commented 8 months ago

This is related to #2266.

@JvmOverloads actually does not fix binary compatibility for composable functions (I have learned as much and even more now). To be fair it probably does not also fix binary compat for non-composable functions but I haven't confirmed.

The only way to maintain binary compat with top level (static) composable functions is to duplicate the method, one with the old signature that will call the other with the new signature.

Also, my recommendation would be to track binary compatibility of lottie-compose with kotlinx BCV or metalava.