Android: Save button appears beneath gesture bar / navigation bar.
Describe the issue
After updating to target Android 15+ (required by google now) the add card modal for android renders the save button too low and it is un-clickable.
To Reproduce
Just build the app for android 15+
We build our app with expo -- and the issue appeared after updating to SDK53 -- which targets android 15+.
Expected behavior
The save button should have sufficient margin to render within the clickable area.
Environment (please complete the following information):
- platform: Android
- OS and version: 15+
- dev environment: mac os
- In-App Payments Plugin version: 1.7.6
- Built with EXPO SDK 53
Screenshots
Additional context
FWIW I solved this by using an expo plugin to inject enough minHeight / padding into the button to shove it into the clickable area.
It also looks like this uses the IAP sdk version 1.6.6 for android -- which seems very out of date as the most recent release is marked as 2.3.1 at time of filing this issue -- so I'm wondering if the fix is just to use a more modern sdk that already handles android 15+
Hi, @trattles same issue with expo sdk 54. How did you solve it? I didn't find any API to customize styles (margin, paddings, .etc)
Facing the same issue.
Facing the same issue on Android 16 (One UI 8.0). The keyboard covers the card number input field and the Save button is hidden behind the gesture navigation bar. Tried various windowSoftInputMode and WindowCompat fixes with no success.
I tried to use this https://www.npmjs.com/package/react-native-square-in-app-payments (v2), it fixed the UI but breaks the google pay.
Does anyone have a working fix?
Tested using version 2.0.0, it appears to be resolved