Closed abdulmananqureshi closed 8 months ago
Here's a better description after updating the @stripe/stripe-terminal-react-native
package to 0.0.1-beta.15
|ReactNativeJS 'connectionError', { code: 'UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR',
message: 'Failed to generate key pair.' }
Resolved in a support ticket thread
During initial testing, we successfully connected the reader (Samsung Galaxy A33) phone and were able to initiate payments. However, when we transitioned to using tablets/phablets from China, we encountered an error while establishing a connection to the reader. After searching for a few devices, we found a device that met the requirements listed.
Despite meeting the compatibility requirements, the connection attempt failed with an unexpected error message. Please provide further guidance on troubleshooting this issue.
{ code: 'UNEXPECTED_ERROR.UNEXPECTED_SDK_ERROR', message: "Contactless transaction failed java.lang.IllegalStateException: App Error: SERVER_ERROR 'An unknown error has occurred: java.lang.NoSuchMethodError: No static method reportErrorAsync$default(Lcom/stripe/sentry/http/ErrorReporter;Ljava/lang/Throwable;ZILjava/lang/Object;)V in class Lcom/stripe/sentry/http/ErrorReporter; or its super classes (declaration of 'com.stripe.sentry.http.ErrorReporter' appears in /data/app/~~564MMBgbQ0ntUjd22Hj66w==/com.pos-SpmCVwUvrJyttHHVM8ti2g==/base.apk!classes4.dex)'", }