Crash on iOS when displaying paywall with kotlin multiplatform SDK

  • 11 July 2024
  • 1 reply

Badge +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!

1 reply

Userlevel 5
Badge +9

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.