#ayush_reactnative-error
1 messages ¡ Page 1 of 1 (latest)
đ 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/1422700368831320247
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello, hope you're doing well.
Hi there,
I'm doing good. Thanks for asking. I see you run into a problem with our Reacht Native SDK. When does this error appear? On build? And has the app ever worked and the error is new or are you just starting building the app?
The app is live on both stores, this error started to occur when I installed npx expo install @stripe/stripe-react-native. I am on Expo 54 SDK and am on Stripe 0.52.0 SDK. I can see that this error was fixed and merged into master: https://github.com/stripe/stripe-react-native/pull/2129. I am just a little confused about how to go about this, as I am on Expo SDK 54, the recommended version of Stripe SDK is 0.50.3, I already tried by going up to 0.52.0. The question is I saw that 0.54.0 was released today, will it cause more issues if I upgrade it directly to 0.54.0? Would it work with Expo SDK 54?
Here is another link to the closed issue on github: https://github.com/stripe/stripe-react-native/issues/2065. The solution here was to use a patch, but I have never used a patch before so I don't know how to go about it and/or if its safe, or if it will cause issues with the rest of my project.
Gotcha, give me a sec to look more into this
Thank you
I need to use:
"ios": { "useFrameworks": "static", "buildReactNativeFromSource": true }
In my build properties for my other packages so I would prefer a solution where I don't need to change either of these
So from what I see in the changelog is the issue was solved with SDK v. 0.53.1. Non of the changes from 0.53.1 or 0.54 are marked as breaking changes. You should be able to upgrade without issues.
perfect, thank you. Was it changed pre 0.53.1 or afer?
It was 0.53.1 that fixed the issue https://github.com/stripe/stripe-react-native/blob/master/CHANGELOG.md#0531---2025-09-19 so I would recommend to upgrade at least to that version.
No problem. Always happy to help. Let us know if you run into any problems after updating.
Shall do. Making a build now
ayush_reactnative-error
@marsh thistle Appreciate the help, the build just got complete with no errors this time around.
amazing!