Closed khlling closed 2 months ago
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
Oh, weirdly the close button has appeared to me now on Android. But in the top left in black.
Hoping that we can change the color of this button in the future
@khlling we have received the close button color feedback multiple times and already working on it. Not sure when it will arrive to React Native, but we are already working on adding the functionality to customize it to the dashboard.
The close button is in your first screenshot as well, but with very little contrast, which makes it almost impossible to see
@vegaro thanks for the follow-up. I must have missed it! - I was expecting it to be on the right-hand side like in iOS. Configuring it via the dashboard works just fine in my use case. I've used a different picture for now :)
Describe the bug The paywall does not display the close button in Android but does in iOS. From diving into the code this should be default to true.
PRESENT_PAYWALL_DISPLAY_CLOSE_BUTTON: true
Even passing in displayCloseButton to the presentPaywall/presentPaywallIfNeeded doesn't enable the close button
I found the following on the Revenuecat community pages: https://community.revenuecat.com/general-questions-7/close-button-is-not-visible-on-android-4127
I've tried with alternative images that aren't black. However, no close button displays in Android
Environment
Platform: Android
SDK version:
"react-native-purchases": "^7.26.2", "react-native-purchases-ui": "^7.26.2",
OS version: Mac OS
React Native version: 0.69.10
Additional context Android:
iOS:![Simulator Screenshot - iPhone 13 - 2024-04-22 at 21 37 17 #2](https://github.com/RevenueCat/react-native-purchases/assets/6086905/df66d129-59d0-4485-a8bf-f8dcb5d6acc4)