#Umang - app issue
1 messages · Page 1 of 1 (latest)
Are you using the same versions for everything on Android as you are in iOS?
yeap
I danced with a tambourine whole day yesterday with changing npm to yarn, clearing cache, removing node modules and installing again
but again and again I'm facing with this runtime error
now I did it again, another error but I guess the reason of this error is same
stripe version is
"@stripe/stripe-react-native": "^0.11.0"
Hello 👋
Taking over here
Have you tried creating a new sample test app to see if its an issue with this one app's configuration?
@lone bane it works with fresh app on same version of RN
Interesting, so not a bug with the library.
I'd recommend going through imports and making sure those are correct
what do you mean?
Like in the last error you've attached, it is pointing to a specific component where useStripe() is failing
I'd recommend looking at the actual node_modules path for the function and making sure you have the right files present
If you don't have a lot of code, an easier way would be to move all your components to freshly created sample app.
yeah, but if problem in imports then iOS shouldn't work also
second option is not a way in my situation))
yeah, but if problem in imports then iOS shouldn't work also
yeah that's fair.
The sample test app uses the same exact versions of the libraries correct?
yes
Ah okay
I'm not sure what else to recommend here as either it must be something in the code or an issue with the node_modules installation
No probs, I didn't expect a big success in messaging here since it's not the direct problem with stripe lib, because it works ok on fresh project. I hoped may be someone had same issue
But I guess I'll go with removing lib by lib and see if it builds or not