@stripe/stripe-react-native

v0.38.6
Stripe SDK for React Native
react-native ios android

docs

yarn typedoc ./src/index.tsx --out ./docs/api-reference --tsconfig ./tsconfig.json --readme none --sort source-order

lint

eslint "**/*.{js,ts,tsx}" --ignore-pattern "docs/api-reference/*" --ignore-path .gitignore

pods

cd example && npx pod-install --quiet

test

jest

example

yarn --cwd example

prepare

bob build && husky install

release

./scripts/publish

test-ios

maestro test -e APP_ID=com.stripe.react.native

bootstrap

yarn example && yarn && yarn pods

typescript

tsc --noEmit

update-pods

cd example/ios && pod update Stripe StripeApplePay StripeFinancialConnections StripePayments StripePaymentSheet StripePaymentsUI StripeCore StripeUICore

test-android

maestro test -e APP_ID=com.example.reactnativestripesdk

test:e2e:ios

bash ./scripts/run-maestro-tests ios

test:unit:ios

xcodebuild test -workspace example/ios/StripeSdkExample.xcworkspace -destination 'platform=iOS Simulator,name=iPhone 15' -scheme UnitTests

run-example-ios

cd example;react-native run-ios --configuration Release --simulator "iPhone 15"

test:e2e:android

bash ./scripts/run-maestro-tests android

bootstrap-no-pods

yarn example && yarn

test:unit:android

cd example/android && ./gradlew connectedAndroidTest

run-example-android

cd example;react-native run-android --variant=release
npm i @stripe/stripe-react-native

Metadata

  • MIT
  • Whatever
  • Stripe
  • released 9/4/2024

Downloads