Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require PhoneNumber doesn't work on Android #1747

Open
aharwood9 opened this issue Oct 8, 2024 · 0 comments
Open

Require PhoneNumber doesn't work on Android #1747

aharwood9 opened this issue Oct 8, 2024 · 0 comments

Comments

@aharwood9
Copy link

Describe the bug
Adding phoneNumber: "required", to additionalFields works on iOS but has no impact on Android.

To Reproduce

  1. Follow this guide to setting up AddressSheet - https://docs.stripe.com/elements/address-element/collect-addresses?platform=react-native
  2. Boot up an Android device (physical or emulator)
  3. Enter an address and leave phone number blank
  4. See you the button becomes enabled as soon as you've entered a zip code
  5. Tapping the button triggers onSubmit

Expected behavior

Button should be disabled until phone number is entered (as per iOS) when phoneNumber is required

Desktop (please complete the following information):

  • OS: [e.g. iOS] - N/A
  • Browser [e.g. chrome, safari] - N/A
  • Version [e.g. 22] - N/A

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6] - Pixel 6 Pro
  • OS: [e.g. iOS8.1] - API 33
  • Browser [e.g. stock browser, safari] - N/A
  • Version [e.g. 22] - N/A

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant