Skip to main content
Question

Crash on iOS when displaying paywall with kotlin multiplatform SDK

  • July 11, 2024
  • 1 reply
  • 147 views

Forum|alt.badge.img+3

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
  • 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.