Skip to main content
Solved

KMP: Arrow Dependency

  • Feb 15, 2025 10:33 AM UTC
  • 1 reply
  • 403 views

Forum|alt.badge.img+4

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! 

View original
This post has been closed for comments

1 reply

JayShortway
RevenueCat Staff
Forum|alt.badge.img+5
  • RevenueCat Staff
  • Answer
  • Feb 27, 2025 3:58 PM UTC

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!