Skip to content

PlatformPayButton is transparent on Android until its pressed #2071

@keveightysev

Description

@keveightysev

Describe the bug
When I use the PlatformPayButton component inside a Modal, on Android the button does not appear (even though it is still pressable). Once the button is pressed, the button appears as normal. The button works as expected on iOS

To Reproduce
Steps to reproduce the behavior:

  1. Render a PlatformPayButton component inside of a Modal component
  2. Observe PlatformPayButton does not appear
  3. Press area where button belongs
  4. Observe PlatformPayButton text and background appear

Expected behavior
PlatformPayButton should appear when the component is rendered without requiring interaction.

Screenshots

Screen.Recording.2025-08-19.at.1.03.22.PM.mov

Smartphone (please complete the following information):

  • Device: Android Emulator; Pixel 8
  • OS:Android
  • Browser n/a
  • Version 16

Additional context
stripe-react-native library version is 0.50.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions