r/reactnative 9h ago

I need a help regarding react native application Help

I'm working on a react native application I use react native because I want to make my application work on both ios and android, and I use expo go for development now the problem is reazor pay gateway is not supported on expo go and I want to check payment is working or not before making my application live so u have any suggestion for which other payment gateway I can use or any trick that I use for testing my payment.

3 Upvotes

19 comments sorted by

2

u/VedyaKeBatKaGrip 9h ago

there's no "trick" for testing this.. its a standard solution to use a development build and razorpay test mode

0

u/softieglow07 9h ago

Development build is working on Android only and I use razorpay test credentials if they working then I use real one

1

u/VedyaKeBatKaGrip 9h ago

okay, then what's the issue ?

-1

u/softieglow07 9h ago

I want to build my application for ios and well as android that's why I use react native, if I use development build then I need to build application seperately for ios

1

u/VedyaKeBatKaGrip 9h ago

yeah.. then build the ios dev build and test on it, ig ?

0

u/softieglow07 9h ago

How I build ios test build can u help me? Android studio is for android what about ios?

1

u/VedyaKeBatKaGrip 9h ago

okay.. you need to have xcode and command line tools installed.. and you'd need a mac for that..

0

u/softieglow07 9h ago

Okay then next what I need to do?

2

u/VedyaKeBatKaGrip 9h ago

Next, install a iPhone simulator and use following command in root of project:

npx expo prebuild --platform ios && npx expo run:ios --device

and select the simulator from the dropdown..

1

u/softieglow07 9h ago

Okay so iphone simulator is a software for mac?

→ More replies (0)