Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paywall bug for visionOS, Template 4, not enough room for "Monthly" split over two lines #3696

Open
1 of 2 tasks
MatthewWaller opened this issue Feb 19, 2024 · 1 comment
Open
1 of 2 tasks
Labels

Comments

@MatthewWaller
Copy link

MatthewWaller commented Feb 19, 2024

Describe the bug
I'm using the Template 4 Paywall in our visionOS app. Unfortunately, "Monthly" is split over two lines like "Month-ly" despite enough room. I tried adding more space to the paywall view, but no luck.

Screenshot 2024-02-18 at 9 16 06 PM
  1. Environment
    1. Platform: visionOS
    2. SDK version: 4.36.3
    3. StoreKit version:
      • StoreKit 1
      • StoreKit 2 (enabled with usesStoreKit2IfAvailable(true))
    4. OS version: visionOS 1.0
    5. Xcode version: 15.2
    6. Device and/or simulator:
      • [ x] Device
      • [ x] Simulator
    7. Environment:
      • [x ] Sandbox
      • [ x] TestFight
      • [ x] Production
    8. How widespread is the issue. Percentage of devices affected. 100%
  2. Debug logs that reproduce the issue. Complete logs with Purchases.logLevel = .verbose will help us debug this issue.
Logs here: None
  1. Steps to reproduce, with a description of expected vs. actual behavior

Create a Paywall view with Template 4 like so:

.sheet(isPresented: $payments.presentPaywall, content: { // We have to add another sheet here because you can't have two modals at once.
            PaywallView(displayCloseButton: false)
                .frame(width: 500, height: 800)
                .overlay {
                    VStack {
                        HStack {
                            Spacer()
                            Button {
                                payments.presentPaywall = false
                            } label: {
                                Image(systemName: "xmark")
                                    
                            }
                            .padding()
                        }
                        Spacer()
                    }
                }
        })

Have one of the options named: "Monthly" as a package.

See it split over two lines.

  1. Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.) N/A

  2. Additional context
    Add any other context about the problem here. N/A

@RCGitBot
Copy link
Contributor

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants