Skip to main content
Question

Crash on iOS when displaying paywall with kotlin multiplatform SDK

  • 11 July 2024
  • 1 reply
  • 76 views

Forum|alt.badge.img+2

Hello there, when I try to open a Paywall on iOS using the kotlin multiplatform SDK the app crashes with this error:
Uncaught Kotlin exception: kotlin.UninitializedPropertyAccessException: lateinit property component has not been initialized

From my side seems that everything is correctly setup, I followed step by step the guide you provided to integrate revenue cat in kotlin multiplaftorm.
What could be? 
Thank you!

This post has been closed for comments

1 reply

sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 513 replies
  • July 15, 2024

Hi @DanielMilano,

Can you share the full stack trace or a screenshot of the error in the console/IDE? KMP support is rather new so I want to get as much info as possible for the mobile engineering team to look into this.


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