Crash react-native-in-app-payment after press pay button (Android Only)

Hello! Dear Support!
I have a problem with React Native library.
App crash after card entry and press pay button

Before the handle cardEntry i have the warning new NativeEventEmitter() was called with a non-null argument without the required addListener method.

Log after crash:
Shutting down VM
2023-09-04 20:02:11.911 17331-17331 AndroidRuntime com.calsouth_parking_mobile_app E FATAL EXCEPTION: main
Process: com.calsouth_parking_mobile_app, PID: 17331
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: com.squareup.moshi.JsonEncodingException: Use JsonReader.setLenient(true) to accept malformed JSON at path $
at com.squareup.moshi.JsonReader.syntaxError(JsonReader.java:243)
at com.squareup.moshi.JsonUtf8Reader.checkLenient(JsonUtf8Reader.java:1152)
at com.squareup.moshi.JsonUtf8Reader.doPeek(JsonUtf8Reader.java:384)
at com.squareup.moshi.JsonUtf8Reader.peek(JsonUtf8Reader.java:206)
at com.squareup.moshi.internal.NullSafeJsonAdapter.fromJson(NullSafeJsonAdapter.java:38)
at com.squareup.moshi.JsonAdapter.fromJson(JsonAdapter.java:58)
at sqip.internal.nonce.RealCreateCardNonceRequestHandler.onResponse(RealCreateCardNonceRequestHandler.kt:132)
at sqip.internal.nonce.RealCreateCardNonceRequestHandler$sendRequest$1.onResponse(RealCreateCardNonceRequestHandler.kt:56)
at retrofit2.DefaultCallAdapterFactory$ExecutorCallbackCall$1.lambda$onResponse$0$retrofit2-DefaultCallAdapterFactory$ExecutorCallbackCall$1(DefaultCallAdapterFactory.java:82)
at retrofit2.DefaultCallAdapterFactory$ExecutorCallbackCall$1$$ExternalSyntheticLambda0.run(Unknown Source:6)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

“react-native”: “0.71.11”,
“react-native-square-in-app-payments”: “^1.7.3”
Android Simulator API 30

What version of React Native are you using? :slight_smile:

I attached a little higher! I repeat,
React Native 0.71.11
Square Library: “react-native-square-in-app-payments”: “^1.7.3”