Skip to main content
Question

Purchases.configure() crashes app on launch [Flutter]

  • 1 December 2022
  • 3 replies
  • 109 views

Forum|alt.badge.img+3

It was working fine a few weeks ago, but now it just crashes every time I try to configure RevenueCat. Issue goes away when I don’t configure it.

What do I do?

3 replies

sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 513 replies
  • December 5, 2022

Are there any build or crash logs when this happens? Calling configure is the very first step in initializing the RevenueCat SDK, so likely something changed in your basic configuration regarding Flutter SDK/RevenueCat SDK/Xcode/Android Studio/ etc. Maybe the SDK updated without your knowledge? Any sort of logs or messages would be good clues here


Forum|alt.badge.img+1
  • New Member
  • 2 replies
  • September 24, 2024

Resurface this topic as I had the exact same problem. Before getting the answer, why the SDK crashes the entire app if Purchases.configure() is called inside Flutter app’s main()? Can it fail more gracefully w/o crashing the entire app? @sharif 


Forum|alt.badge.img+1
  • New Member
  • 2 replies
  • September 24, 2024

 

I am using:

Flutter 3.24.1

purchase_flutter 8.1.2

iOS 18.1 beta on iPhone 15 pro max

 


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