Skip to main content
Question

Can’t get iOS purchase UI to appear in correct scenes

  • February 11, 2025
  • 1 reply
  • 26 views

Marc Palmer
Forum|alt.badge.img+5

There appears to be a problem created in part by Apple where in a multi-scene app such as a Catalyst app with multiple windows, the StoreKit UI sheets show in the wrong window which is quite problematic.
 

The user flow doesn’t work right because they start a purchase in one window and the sheet appears in another which may be hidden. 

The challenge is that Apple introduces APIs to allow us to specify the correct scene - as well as SwiftUI modifiers to do this correctly for you - but as a user of RevenueCat it does not seem to be possible to use these without forking the RevenueCat SDK because Purchases is final and the internals are private. 
 

Please see this issue for details. I feel stuck by RevenueCat without a good solution for this problem in the app I’m about to ship on Mac. 

Github issue

 

This post has been closed for comments

1 reply

joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 347 replies
  • February 13, 2025

Hi ​@Marc Palmer,

Thank you for bringing this to our attention! I’ve passed your input to the team who is already discussing the best way to support this.

Best,


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