#domhacking
1 messages ยท Page 1 of 1 (latest)
Hello! Are there any more details in the error object?
No : {code: "UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR", message: "Unexpected failure"}
code: "UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR"
message: "Unexpected failure"
Hi btw ๐
That's unfortunately not much to go on. ๐ What Terminal SDK are you using, and what version?
This is on android with react native
"@stripe/stripe-terminal-react-native": "^0.0.1-beta.11",
Do you need any info?
Can you share the code that's throwing this error?
Yes
This is wha i am seeing in the logs when I press to connect to a reader
[Stripe terminal]: didFinishDiscoveringReaders {}
StripeConfig.js:41 onFinishDiscoveringReaders success
StripeTerminalProvider.tsx:83 [Stripe terminal]: didChangeConnectionStatus connecting
StripeTerminalProvider.tsx:83 [Stripe terminal]: didChangeConnectionStatus connected
StripeTerminalProvider.tsx:83 [Stripe terminal]: didChangeConnectionStatus notConnected
StripeConfig.js:56 connectBluetoothReader error: {code: "UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR", message: "Unexpected failure"}
StripeConfig.js:65 handleConnectReader result1 {error: {โฆ}}
StripeConfig.js:67 handleConnectReader result2 {error: {โฆ}}
So the discovery process succeeds and the reader you're passing to connectBluetoothReader contains the expected reader?
It looks like it
I'm not sure what else to recommend, to be honest. You're already on the latest version of this SDK. Since this SDK is in beta I recommend you file an issue here so the team that built the SDK can investigate and help further: https://github.com/stripe/stripe-terminal-react-native/issues