#esteban-castiblanco_error
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/1273708326508560558
π Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi π
I think you mean React Native, since that code doesn't look like Kotlin
But the error only shows up when you run it on Android?
Or wait... never mind.
Hey, nope that is Kotlin, similar code as the docs...
And this error is thrown when you attempt to discover readers?
Yeah, that is the issue...
We go throw the flow like this:
initTerminal started...
TokenProvider success: {token=pst_test_}
Initializing Terminal...
logLevel: VERBOSE token: Terminal.isInitialized: false
Initializing Terminal.initTerminal...
Finish Terminal.initTerminal...
Returning terminal instance...
initTerminal completed...
locationId: tml_
isSimulated: false
connectReaderMobile started...
Reader connection failed... Contactless transaction failed com.stripe.core.aidlrpc.AidlRpcException: Service never connected. Reader connection failed... UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR
Hmmmm... it sounds like this issue was raised previously here:
https://github.com/stripe/stripe-terminal-android/issues/427
- Was this you?
- GH Issues is a good way to engage directly with the team.
But also, to double check, your code never gets to the step where you return a list of readers?
No, that was not me... But I will see the thread. Thanks!
Nathan from Stripe send us to this Discord to try to solve the issue π
If I do it with the isSimulated = true, in that way its working. It doesn't get to the list of readers when isSimulated = false
Okay where is this code running?
Is it installed on the phone and do you have the physical device connected to Android studio?
Its installed in a Samsung 21+ phone, and connected to Android Studio...
Our application is a Flutter app, but we use the Stripe SDK in the native part
Hi there π jumping in as my teammate needs to step away soon. My understanding is you can't test this while connected to Android Studio for security reasons.
https://docs.stripe.com/terminal/payments/connect-reader?terminal-sdk-platform=android&reader-type=tap-to-pay#:~:text=Using the non-simulated%2C production version of the Tap to Pay reader with debuggable applications isnβt supported for security and compliance reasons
I understand the point, but we have the issue to connect to the local reader of our managers phones and that application is signed and with the release configuration...