stripe.js downloaded after a single import of react-native-purchases
- [+] I have updated Purchases SDK to the latest version
- [+] I have read the Contribution Guidelines
- [+] I have searched the Community
- [+] I have read docs.revenuecat.com
- [+] I have searched for existing Github issues
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.
- Environment
- Platform: Web
- SDK version:9.6.0
- OS version: Tahoe
- Xcode/Android Studio version: -
- React Native version: -
- SDK installation (CocoaPods + version or manual): -
- How widespread is the issue. Percentage of devices affected.
- Debug logs that reproduce the issue
- Steps to reproduce, with a description of expected vs. actual behavior
- Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
Additional context
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
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 can you help me test if my PR 597 (https://github.com/RevenueCat/purchases-js/pull/597) fixes that 🙏
Hey @RohovDmytro,
Thank you for reporting this! I have shared this internally with the Engineering team for their review.