#esteban-castiblanco_error

1 messages Β· Page 1 of 1 (latest)

fringe masonBOT
#

πŸ‘‹ 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.

gleaming cargo
#

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.

cold nacelle
#

Hey, nope that is Kotlin, similar code as the docs...

gleaming cargo
#

And this error is thrown when you attempt to discover readers?

cold nacelle
#

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

gleaming cargo
#

But also, to double check, your code never gets to the step where you return a list of readers?

cold nacelle
#

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

gleaming cargo
#

Okay where is this code running?

#

Is it installed on the phone and do you have the physical device connected to Android studio?

fringe masonBOT
cold nacelle
#

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

lavish flax
#

Connect your application to a Stripe Terminal reader.

cold nacelle
#

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