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

Including the library without using it breaks expo web

Open ollyde opened this issue 5 months ago • 2 comments
trafficstars

As title

We use Expo for web as well as iOS and Android.

When I include this library, nothing else, without even using it, it completely breaks web.

Web Bundling failed 893ms node_modules/expo-router/entry.js (2742 modules)
Unable to resolve "../../Utilities/Platform" from "node_modules/react-native/Libraries/Components/TextInput/TextInputState.js"

Would be great if we could use this library with iOS/Android, we will use another with Web, so no need to support it.

ollyde avatar May 29 '25 10:05 ollyde