RevenueCat / purchases-android

Android in-app purchases and subscriptions made easy.
https://www.revenuecat.com/
MIT License
258 stars 52 forks source link

Paywall 7 Template's Bottom Part Can't Be Seen on Google Pixel 9 Pro Emulator #1879

Open rocxteady opened 4 weeks ago

rocxteady commented 4 weeks ago

Describe the bug Paywall's bottom part can't be seen while using Paywall 7 template on Google Pixel 9 Pro Android Emulator when the targetSdk is 35 in gradle. It works when the targetSdk is 34. See the attachment. I don't have a psychical pixel device to test it unfortunately. It also has a gap on top too. Maybe some wrong calculations are pushing the view to the bottom.

It only happens when the targetSdk is 35!

  1. Environment
    1. Platform: Android
    2. SDK version: 8.8.0
    3. OS version: API 35
    4. targetSdk: 35
    5. Android Studio version: 2024.2.1
    6. I only have OnePlus 5 to test my app, it works fine on it. The bug only appears on Google Pixel Android emulators.
  2. Debug logs that reproduce the issue
  3. Just test the Paywall 7 on Google Pixel Android emulators when the targetSdk is 35. See the attachments.
  4. Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.) My implementation:
    if (showPaywall) {
    PaywallDialog (
        paywallDialogOptions = PaywallDialogOptions.Builder()
            .setDismissRequest {
                showPaywall = false
            }.build()
    )
    }

paywall

RCGitBot commented 4 weeks ago

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

michaelAtRC commented 3 weeks ago

Hey @rocxteady ,

Thanks for sharing this. I will share this with the paywalls team to get some more eyes on this. It might simply be a problem due to the emulator as emulators sometimes show issues like you are seeing here.

rocxteady commented 3 weeks ago

Hi @michaelAtRC . Thank you for letting me know. I hope you are right and it won't cause a big issue. 😊