Skip to content

[react-native-purchases] [web] RN project using web, but NOT connected in RC dashboard with "stripe" should not load any code from stripe #1710

@psnet

Description

@psnet

Describe the bug
RN project using web, but NOT connected in RC dashboard with "stripe" should not load any code from stripe as stripe IS NOT connected and this only takes load time and eats resources and stripe itself start flushing its own messy messages in console.
Web can be used for testing any purpose, but if project is not connected in RC dashboard with stripe - skip downloading anything from stripe's domain.

  1. Environment
    1. Platform: web
    2. SDK version: 9.14.0
    3. OS version:
    4. Xcode/Android Studio version:
    5. React Native version: 0.81.5
    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
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions