#dianaedv_unexpected
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1276244485843583087
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
What app are you referring to? What integration are you following?
Iโm attached an example of TextWatcher implementation in my project and the log of error. Thanks for all the support and sorry if Iโm not asking in the right section or way
Let's stop right here
- It sounds like you are integrating Stripe Android SDK. Is that correct?
Yes
- If so, what Stripe component(s) are you using in your integration?
- What docs are you following?
-
My intention is to use the credit card OCR to add the card number scan in the app
-
The doc is https://github.com/stripe/stripe-android/tree/master/stripecardscan
Okay, thanks. We help devs with all sorts of different questions so it can be hard to jump into a new thread without the context to understand the problem. This helps orient me.
- About the doc, it was use to implement the card number scan and the integration.
The card number scan was implemented successfully but my text field with the text watcher just broke, so I remove the implementation but the field still broke
Hmmm .... ๐ค
Kind of sounds like a related dependency for the card scan module might interfere with the TextWatcher functionality.
What happens if you remove the TextWatcher?
The app doesnโt crash
Unfortunately the TextWatcher a are essential for the formatting mask applied to the text
Okay and if you comment out the cardscan dependency and enable the text watcher, that still crashes?
No, it work normally without crash
When I comment out the card scan dependency as you mention
Actually I made that test (just adding the dependendy) in lowers SDK and Kotlin version but Iโm still facing the crash issue
Actually I made that test (just adding the dependendy) in lowers SDK and Kotlin version but Iโm still facing the crash issue
Sorry I'm not clear what this means. Are you saying you don't see the app crashing if you use lower Kotlin & SDK versions? If so, which ones?
I see the app crashing even with lover versions of the Kotlin and SDK
Okay.
Thanks, sorry for my bad English
No problem, I'm just trying to make sure I understand the issue
Thanks
Okay so unfortunately this sounds like a dependency conflict, not something you can easily adjust with your Android code.
I checked for Github Issues for this specific conflict but didn't see anything.
https://github.com/stripe/stripe-android/issues?q=is%3Aissue+TextWatcher+is%3Aopen
I recommend creating a fresh Github Issue to raise this with the stripe-android team. I think that is the clearest path forward at this point.
Oh, got it. Iโm gonna check the the GitHub issue
Right
Iโm creating the issue now, thanks
Great. I hope our Android team can get to the bottom of this.
I really appreciate your support! I hope too. Thanks
Happy to shed what light (๐ก) I can ๐
Thanks, just one last questions this issue is related to a SDK bug Report or a SDK Integration Support ?
Hi there ๐ jumping in as my teammate needed to step away. I believe what you were discussing would be an SDK bug report.