Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Invariant Violation: __fbBatchedBridgeConfig is not set, cannot invoke native modules #1155

Closed
cullsin opened this issue Sep 28, 2022 · 1 comment

Comments

@cullsin
Copy link

cullsin commented Sep 28, 2022

Describe the bug
Uncaught Invariant Violation: __fbBatchedBridgeConfig is not set, cannot invoke native modules

To Reproduce
Steps to reproduce the behavior:

import { StripeProvider } from '@stripe/stripe-react-native';
import Payment from "../components/Payment";
const StripeScreen = (props)  => {
  const publishableKey = "pk_test_AtN3VLAFhzbLNqf6Y9z50iNQ";
  return (
    <StripeProvider
      publishableKey={publishableKey}
    >
      <Payment {...props} />
    </StripeProvider>
  );
};


Expected behavior
It should work

Screenshots
image

Desktop (please complete the following information):

  • OS: expo react native Web
  • Browser Chrome

Additional context
Please suggest me how to set __fbBatchedBridgeConfig

@charliecruzan-stripe
Copy link
Collaborator

Hi! This library doesn't yet support web, unfortunately. Sorry about that! Tracked in #917

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants