stripe-react-native icon indicating copy to clipboard operation
stripe-react-native copied to clipboard

Reduce Stripe React Native Package Size to Optimise App Build Size

Open sharathguvvala opened this issue 5 months ago • 1 comments

Is your feature request related to a problem? (please describe) The current size of the Stripe package (around 25 MB) significantly increases the overall app size.

Describe the solution you'd like I would like to see the package size optimised, potentially by modularising the package, so that we can selectively include only the necessary components in their app.

For reference, in the native Stripe iOS SDK 23: StripePaymentSheet: 2.7 MB Stripe: 2.2 MB StripePayments: 1.1 MB StripePaymentsUI: 1.7 MB StripeApplePay: 0.4 MB

sharathguvvala avatar Sep 11 '24 19:09 sharathguvvala