#Nick-Terminal-React-Native

1 messages ยท Page 1 of 1 (latest)

analog dagger
#

Hi there

#

I haven't played with that specific sample myself

#

React Native can be really fickle though...

wooden pewter
#

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

analog dagger
#

Hmm I'm not sure you can use it with Expo

wooden pewter
#

it's made with expo

#

just doesn't seem to work with EAS

analog dagger
#

Ah I was thinking of the non-Terminal sample

#

This one is indeed with Expo

#

(I strongly dislike Expo ๐Ÿ˜‰ )

wooden pewter
#

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

analog dagger
#

Yeah I will need some time to try and spin up the Example myself in order to help

wooden pewter
#

Sorry about this

analog dagger
#

No need to apologize!

#

Sorry it isn't working

wooden pewter
#

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

analog dagger
#

Which source instructions

#

?

wooden pewter
#

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

analog dagger
#

Yeah I know this stuff is still very much under development

#

Which part isn't stated in the docs itself?

wooden pewter
#

Give me a few and I'll get back to you if this works with these changes, sorry

analog dagger
#

๐Ÿคž

wooden pewter
#

@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.

lone oak
#

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

wooden pewter
#

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!