Skip to main content
Answer

KMP: Arrow Dependency

  • February 15, 2025
  • 1 reply
  • 60 views

Forum|alt.badge.img

Hi!

Any plans on updating the Arrow dependency? I saw in the libs.versions.toml that it is set to 1.2.4 and since my project was relying on 2.0.1 I was getting build errors (iOS Simulator). Downgrading my project dependency to 1.2.4 helped.

I am not sure if there is something in my build.gradle I can set to avoid this but the downgrade was not a big issue for me.

Best
Corey

Best answer by JayShortway

Hi ​@corey, thanks for raising this! I can indeed replicate the compilation error when Arrow 2.0.1 is included. We're a bit hesitant in upgrading our own dependency to 2.0.1, because that would bump our Kotlin stdlib version to 2.1.0 as well. We're in the process of gathering some data on Kotlin versions used in the wild, so we can make an informed decision. In the meantime, I'm happy to hear that downgrading to 1.2.4 was not a big issue for you. Please let me know if you have more questions! 

This post has been closed for comments

1 reply

JayShortway
RevenueCat Staff
Forum|alt.badge.img+5
  • RevenueCat Staff
  • Answer
  • February 27, 2025

Hi ​@corey, thanks for raising this! I can indeed replicate the compilation error when Arrow 2.0.1 is included. We're a bit hesitant in upgrading our own dependency to 2.0.1, because that would bump our Kotlin stdlib version to 2.1.0 as well. We're in the process of gathering some data on Kotlin versions used in the wild, so we can make an informed decision. In the meantime, I'm happy to hear that downgrading to 1.2.4 was not a big issue for you. Please let me know if you have more questions!