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

Expo universal app's web target should not use expo-file-system #139

Closed
1 of 4 tasks
whollacsek opened this issue Dec 15, 2023 · 3 comments
Closed
1 of 4 tasks

Expo universal app's web target should not use expo-file-system #139

whollacsek opened this issue Dec 15, 2023 · 3 comments
Labels
bug Something isn't working react-native web

Comments

@whollacsek
Copy link

Bug description

We are integrating Posthog in our stack and ran into this case where the web target is not handled by the Posthog react-native library properly.

How to reproduce

  1. Create a Expo universal app
  2. Build and run the web target
  3. Error

Related sub-libraries

  • All of them
  • posthog-web
  • posthog-node
  • posthog-react-native

Additional context

Thank you for your bug report – we love squashing them!

@whollacsek whollacsek added the bug Something isn't working label Dec 15, 2023
@whollacsek
Copy link
Author

Re-exporting through platform specific extensions https://docs.expo.dev/router/advanced/platform-specific-modules/#platform-specific-extensions seem to work, but it should be handled automatically by the lib.

@marandaneto
Copy link
Member

Related to #18 as well.

@marandaneto
Copy link
Member

Closing in favor of #140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working react-native web
Projects
None yet
Development

No branches or pull requests

2 participants