stripe-android icon indicating copy to clipboard operation
stripe-android copied to clipboard

[BUG] Postcode field entry issues when using SwiftKey keyboard

Open jvanderwee opened this issue 1 year ago • 5 comments

Summary

Postcode field entry does not work as expected when using SwiftKey keyboard - some characters are entered correctly, others are not.

Android version

12+

Impacted devices

Android Pixel 7a Huawei P30

Installation method

Gradle

Dependency Versions

kotlin: 2.0.0 stripe-android: 20.44.2 Android Gradle Plugin: 8.4.1 Gradle: 8.6

SDK classes

PaymentSheet

Video

https://github.com/stripe/stripe-android/assets/3587922/1489a2fd-d976-41fe-8ab2-cabc7ac1ef69

Other information

jvanderwee avatar Jun 05 '24 12:06 jvanderwee

I'm seeing the same issue with SwiftKey and the CustomerSheet with Stripe React Native 0.38.1 (Stripe Android v20.47.3, tested on Samsung S22 Ultra, Android 14.)

byudaniel avatar Jul 13 '24 00:07 byudaniel

I have the same issue with SwiftKey and the AddressElementActivity (via rememberAddressLauncher). I'm happy to make a new issue, but here are my dependencies. com.stripe:stripe-android:20.48.0 kotlin 1.9.20 Android 13 AGP 8.2.2 Gradle 8.2

jcweber10 avatar Jul 13 '24 22:07 jcweber10

We are also receiving customer reports of not being able to enter their UK postcode when adding a card via the CustomerSheet. It seems to be happening to users on various keyboards including the default Gboard but we have only been able to replicate the issue using the Microsoft SwiftKey keyboard, on the CustomerSheet with the postcode text field specifically.

With Microsoft SwiftKey behaviours we have seen are when typing a postcode are:

  • There seems to be a delay in accepting input when typing if you type too fast meaning it can skip some inputs
  • After entering a letter one cannot switch to the number tab of the keyboard to add that part of a UK Postcode in.

Both of these were observed on a physical Google Pixel 4a 5g device and a Google Pixel 8 pro emulator. On the physica Google Pixel 4a 5g there was also some flashing of the autofill sections of Microsoft SwiftKey that we were not able to replicate on other text input fields in our or other apps.

Our dependencies are: com.stripe:stripe-android:20.48.1 kotlin 1.9.24 Android 14 AGP 8.5.1 Gradle 8.7

taonga-chabva-dootrix avatar Jul 31 '24 08:07 taonga-chabva-dootrix

I'm having the same problem with gboard with

Android 11 AGP 8.5.2 Gradle 8.7 com.stripe:stripe-android:20.51.1

eagleeye12345 avatar Oct 02 '24 10:10 eagleeye12345

Hey @jvanderwee, thanks for reporting this. We're currently investigating a fix.

tjclawson-stripe avatar Oct 07 '24 17:10 tjclawson-stripe

hey @tjclawson-stripe , is there any update for this? I didnt see bugfix note on your relase notes yet

adizdaroglumyne avatar Nov 11 '24 07:11 adizdaroglumyne

This has been fixed in release 21.3.2.

tjclawson-stripe avatar Jan 23 '25 16:01 tjclawson-stripe