Closed Noitidart closed 3 months ago
My Sentry caught this error, I'm not sure if it's related, and Sentry just got lucky:
NSInternalInconsistencyException
Error when sending event: onFetchTokenProviderListener with body: {
}. RCTCallableJSModules is not set. This is probably because you've explicitly synthesized the RCTCallableJSModules in StripeTerminalReactNative, even though it's inherited from RCTEventEmitter.
hey @Noitidart Did you manage to resolve the error?
hey @Noitidart Did you manage to resolve the error?
I didn't :(
I downgraded to v .14 to fix it. Not sure if the latest version.16 fixes it.
One mistake I was making was I also had @stripe/stripe-react-native installed. We only need the terminal package installed. I'm not sure if Uninstalling that would fix it.
hey @Noitidart we just release v.17. Can you see if that fixed the issue?
Thank you very much I will try tonight and back to you within 24h please.
@nazli-stripe It's working for me, at expo 50 and with stripe v.17
Thanks Bruno for the verify and Nazli for the fix! I'll double verify tomorrow, should we close this for now?
Describe the bug Calling
initialize
of terminal is returning promise that resolves with{ error: undefined, reader: null }
, the app freezes, then crashes.To Reproduce Steps to reproduce the behavior:
Render provider:
This renders a
<StripedKioskPage>
component that callsinitialize
like this:Expected behavior App shouldn't crash.
Screenshots none
Stripe Terminal React Native SDK version
^0.0.1-beta.15
Smartphone (please complete the following information):
Additional context
Using Expo and have these following versions of expo and stripe terminal and stripe packages:
My build config
plugins
entry inapp.json
is like this: