This is an example of how you can use the Paystack SDK with React Native and Expo.
First, install npm on your computer.
npm install npm@latest -g
Follow this different steps in order to reproduce the demonstration
- Clone the repository
git clone https://github.com/RambokDev/stripe-tap-to-pay-react-native.git
- Install NPM packages
npm install
- Enter your API url in
app.config.ts
apiUrl: process.env.API_URL ?? 'https://your-api-url/'
npx expo prebuild
With expo services
eas build -p android --profile preview
Locally
eas build -p android --profile preview --local