Skip to main content
Question

Crash in Kotlin

  • August 24, 2024
  • 1 reply
  • 116 views

Forum|alt.badge.img+1

Hi, 

I am implementing Revenue cat SDK 8.4.0 in my  Android app. It works perfectly and everything is ok for most of users but lately I am receiving this crash on crashlytics 

java.lang.IllegalStateException: Attempting to launch an unregistered ActivityResultLauncher with contract com.revenuecat.purchases.ui.revenuecatui.activity.PaywallContract@81ad151 and input PaywallActivityArgs(requiredEntitlementIdentifier=flixunblocker_v5, offeringId=flixunblocker_offer_v5, fonts=null, shouldDisplayDismissButton=true). You must ensure the ActivityResultLauncher is registered before calling launch().

 

I tried to reproduce the crash but I didn’t succeed. The common thing that all the users receiving this crash are Android TV users. 

Do you have any idea how to fix this or how to reproduce this issue. 

Thanks 

This post has been closed for comments

1 reply

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 576 replies
  • November 13, 2024

Hi, sorry we missed your post. We have solved this in Android 8.8.0, please upgrade your SDK version: https://github.com/RevenueCat/purchases-android/releases

See the relevant GitHub issue here: https://github.com/RevenueCat/purchases-android/issues/1842
 
 


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