Skip to main content

Support for Kotlin Multiplatform Mobile (KMM)


Forum|alt.badge.img+2

I'm currently using RevenueCat for my native Android app. I'd like to add an iOS version and I'm considering Kotlin/Compose Multiplatform Mobile in order to reuse much of my Kotlin code. 

It's still early days for KMM, but I was wondering if there were plans to add a KMM SDK. And if not, how would you recommend I manage subscriptions in this case? 

 

Thanks!

Sam

8 replies

Ryan Glanz
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 364 replies
  • July 12, 2023

Hi Sam,

Thanks for reaching out! We don’t currently have an SDK planned for that platform. So I would suggest either using our iOS SDK and recreating the functionality, or you could try a hybrid SDK like RN/Flutter


JayShortway
RevenueCat Staff
Forum|alt.badge.img+1
  • RevenueCat Staff
  • 6 replies
  • February 12, 2024

Hi Ryan and Sam,

I just wanted to check if this has since made its way onto the roadmap? If not: I'm building this πŸ™‚ 

I'm also using RevenueCat in a Kotlin Multiplatform app, and I'm working on extracting the RevenueCat bits into a Kotlin Multiplatform RC SDK. 

I will post here when it's done if there's interest? Let me know.

With kind regards,

Jay


  • New Member
  • 3 replies
  • February 13, 2024

In the new launch party summary,

https://www.revenuecat.com/blog/company/launch-party-summary-dec-2023/

it says:

Additionally, early next year, we’ll be launching a Kotlin Multiplatform SDK, which RevenueCat Paywalls will support.  

Anyone can confirm the dates?

Thank you


  • New Member
  • 3 replies
  • February 16, 2024

@JayShortway are you still creating the SDK or are you in charge of this announce?


JayShortway
RevenueCat Staff
Forum|alt.badge.img+1
  • RevenueCat Staff
  • 6 replies
  • February 17, 2024

@xandebianchi I'm creating an unofficial Kotlin Multiplatform SDK, which should be done in a few days. You could use this until the official SDK is released (which I'm not a part of). 


  • New Member
  • 3 replies
  • February 17, 2024

Magic. Congratulations!


Forum|alt.badge.img+2
  • New Member
  • 2 replies
  • February 26, 2024

@Ryan Glanz @sam  This is how I used RevenueCat in Kotlin + Compose Multiplatform project, wrote a blog about that: https://medium.com/@mirzemehdi/integrating-revenuecat-into-kotlin-multiplatform-465ffa47a97b


Forum|alt.badge.img+2
  • New Member
  • 2 replies
  • February 26, 2024

Also made a wrapper library for main core  functions that can be used directly in kotlin multiplatform project, including Paywall UI with Compose Multiplatform.  https://github.com/mirzemehdi/KMPRevenueCat/


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings