purchases-android
purchases-android copied to clipboard
Paywall 7 Template's Bottom Part Can't Be Seen on Google Pixel 9 Pro Emulator
- [x] I have updated Purchases SDK to the latest version
- [x] I have read the Contribution Guidelines
- [x] I have searched the Community
- [x] I have read docs.revenuecat.com
- [x] I have searched for existing Github issues
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!
- Environment
- Platform: Android
- SDK version: 8.8.0
- OS version: API 35
- targetSdk: 35
- Android Studio version: 2024.2.1
- I only have OnePlus 5 to test my app, it works fine on it. The bug only appears on Google Pixel Android emulators.
- Debug logs that reproduce the issue
- Just test the Paywall 7 on Google Pixel Android emulators when the targetSdk is 35. See the attachments.
- 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()
)
}