Skip to content

sambrodkin/my-app3

Repository files navigation

Stripe Example

stripe-cut.mp4

Supports Expo iOS Supports Expo Android Supports Expo Web

This example shows how to use Stripe in your app and website.

🚀 How to use

npx create-expo -e with-stripe
  • Set the app.json merchantIdentifier to a value starting with merchant., then run eas build -p ios to register the merchant identifier with Apple.
  • Set the .env values with your Stripe keys.
  • Follow the setup steps in the Stripe docs to ensure you have Apple configured correctly.
  • Start the app with: npx expo

Deploy

Deploy on all platforms with Expo Application Services (EAS).

  • Deploy the API Routes and website: npx eas-cli deployLearn more
  • Deploy on iOS and Android using: npx eas-cli buildLearn more

This project has EXPO_UNSTABLE_DEPLOY_SERVER=1 enabled in the .env file. This will publish the server during the build process and set the preview URL as the origin for the app. This will ensure the app always uses a version of the server that is in sync with the app.

Alternatively, you can set the origin in the app.json and manually publish the server to have a more evergreen system where the native app always calls into the latest stable server deployment.

📝 Notes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors