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

stripe.js downloaded after a single import of react-native-purchases

Open RohovDmytro opened this issue 1 month ago • 4 comments

Describe the bug

Importing the library automatically triggers stripe.js file downloads on web.

import "react-native-purchases"

It's pretty surprising and too much of behind the scenes, I'd consider this as a bug. No Stripe is enabled in my RC Dashboard.

  1. Environment
    1. Platform: Web
    2. SDK version:9.6.0
    3. OS version: Tahoe
    4. Xcode/Android Studio version: -
    5. React Native version: -
    6. SDK installation (CocoaPods + version or manual): -
    7. How widespread is the issue. Percentage of devices affected.
  2. Debug logs that reproduce the issue
  3. Steps to reproduce, with a description of expected vs. actual behavior
  4. Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)

Additional context

RohovDmytro avatar Oct 26 '25 04:10 RohovDmytro

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

RCGitBot avatar Oct 26 '25 04:10 RCGitBot

Related:

https://github.com/RevenueCat/purchases-js/pull/494 https://github.com/RevenueCat/purchases-js/issues/578 https://github.com/RevenueCat/purchases-js/pull/542

RohovDmytro avatar Oct 26 '25 04:10 RohovDmytro

@RohovDmytro can you help me test if my PR 597 (https://github.com/RevenueCat/purchases-js/pull/597) fixes that 🙏

pedroimpulcetto avatar Oct 27 '25 19:10 pedroimpulcetto

Hey @RohovDmytro,

Thank you for reporting this! I have shared this internally with the Engineering team for their review.

mawr92 avatar Oct 29 '25 14:10 mawr92