#Nick-Terminal-React-Native
1 messages ยท Page 1 of 1 (latest)
Hi there
I haven't played with that specific sample myself
React Native can be really fickle though...
I mean I know this is in beta mate but it really is a complete mess haha
My first time using RN/Expo and it's just catastrophic
Hmm I'm not sure you can use it with Expo
Ah I was thinking of the non-Terminal sample
This one is indeed with Expo
(I strongly dislike Expo ๐ )
I think Expo is a great idea it just never seems to work as desired
But I'm looking for a low effort solution to get a basic terminal app done within the next few hours
Literally couldn't be simpler, just need to text in an amount and a couple of metadata flags but I can't even build an example app!
My Stripe experience is all with the web JS libs
Yeah I will need some time to try and spin up the Example myself in order to help
Sorry about this
I'm now wondering if it's because I didn't follow the building from source instructions but surely that shouldn't be required?
haha nw
The React Native SDK includes an open-source example app, which you can use to familiarize yourself with the SDK and reader before starting your own integration.
To build the example app from source, you'll need to:
Run yarn bootstrap from the root directory to build the SDK.
Navigate to our example backend and click the button to deploy it on Heroku.
Navigate to the example-app folder and run yarn install to install all example app dependencies.
Copy .env.example to .env, and set the URL of the Heroku app you just deployed.
Run either yarn ios or yarn android depending on which platform you would like to build.
Well we're about to find out but I think it is
๐คฆโโ๏ธ
doesn't say that in the stripe website instructions though
but I feel like it must be because the example app refers to ../scripts/fixRN.sh which just seems crazy given that's in the sdk
Yeah I know this stuff is still very much under development
Which part isn't stated in the docs itself?
Give me a few and I'll get back to you if this works with these changes, sorry
๐ค
@analog dagger Sincerest apologies for the delay. Followed the building from source instructions to a tee, and it doesn't work on EAS. I guess I should try locally with adb.
Trace hereto
Hey apologies for the delay. We don't have anyone on right now that is familiar with that beta or that build error. Can you open an issue on this beta's GitHub? They should be better equipped to diagnose this there https://github.com/stripe/stripe-terminal-react-native
React Native SDK for Stripe Terminal. Contribute to stripe/stripe-terminal-react-native development by creating an account on GitHub.
I'm not that familiar with RN myself but I did find something that said deleting the node_modules folder and retrying the install helped them. Still looking to see if I can find anything else here
No worries mate, unfortunately I have a really tight timescale on this app so I'm going to whip something up in React instead which I'm really familiar with. I'll investigate further when I have time to look properly though. Appreciate all your support, and am always grateful for the hard work of the Stripe support team!