stripe / stripe-android

Stripe Android SDK
https://stripe.com/docs/mobile/android
MIT License
1.3k stars 650 forks source link

[BUG] Postcode field entry issues when using SwiftKey keyboard #8586

Open jvanderwee opened 5 months ago

jvanderwee commented 5 months ago

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

byudaniel commented 4 months ago

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.)

jcweber10 commented 4 months ago

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

taonga-chabva-dootrix commented 3 months ago

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:

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

eagleeye12345 commented 1 month ago

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

tjclawson-stripe commented 1 month ago

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

adizdaroglumyne commented 1 week ago

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