-
Notifications
You must be signed in to change notification settings - Fork 404
Open
Labels
Description
Describe the bug
When adding the Revenue Cat Paywall to a SwiftUI native macOS app, the sheet doesn't adjust to the paywall's size. It looks like this:
.sheet(isPresented: $showPaywall) {
PaywallView()
}
Currently, the only way to solve this problem is to manually add a frame size, but it is impossible to accurately match the content size, and when the content changes, empty space or scroll bars will appear.
Platform
macOS
SDK version
5.48.0
SDK integration method
Swift Package Manager
StoreKit version
StoreKit 2 (default on versions >=5.0.0)
OS version
macOS 26.1
Xcode version
26.1.1
Device and/or simulator
Device
Environment
Sandbox
How widespread is the issue
100%
Debug logs
DEBUG: ℹ️ PostFeatureEventsOperation: Started
DEBUG: ℹ️ There are no requests currently running, starting request POST /v1/events
DEBUG: ℹ️ API request started: POST '/v1/events'
DEBUG: ℹ️ API request completed: POST '/v1/events' (200)
DEBUG: ℹ️ PostFeatureEventsOperation: Finished
DEBUG: ℹ️ Events flush succeeded
DEBUG: ℹ️ Serial request done: POST /v1/events, 0 requests left in the queue
DEBUG: ℹ️ applicationWillEnterForeground
WARN: Could not find default package for paywall. Using first package instead. This package will not show in the paywall. This could be caused by a package that doesn't have a product on this platform or the product might not be available for this region.Steps to reproduce
- Add RevenueCat Paywall
.sheet(isPresented: $showPaywall) {
PaywallView()
} - Show Paywall using
$showPaywall