in-app-payments-react-native-plugin icon indicating copy to clipboard operation
in-app-payments-react-native-plugin copied to clipboard

Android: Save button appears beneath gesture bar / navigation bar.

Open trattles opened this issue 1 year ago • 4 comments

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

Image

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+

trattles avatar Sep 17 '25 15:09 trattles

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)

geikobogdan avatar Sep 25 '25 08:09 geikobogdan

Facing the same issue.

Phong-TH avatar Oct 23 '25 04:10 Phong-TH

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?

fbunadi avatar Feb 22 '26 04:02 fbunadi

Tested using version 2.0.0, it appears to be resolved

cesar-sosa-hol avatar Mar 26 '26 15:03 cesar-sosa-hol