-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[camera] Fix web imports #26505
[camera] Fix web imports #26505
Conversation
This bug still exists if you create a new Expo Repository, and setup a fresh component of Expo Camera. It will error on Web. @alanjhughes @brentvatne @lukmccall |
@WatchmansEase - can you share a minimal reproducible example repository please? https://stackoverflow.com/help/minimal-reproducible-example |
@WatchmansEase - what version of |
@WatchmansEase - I've just tested this in a new expo project and it is working on web |
@alanjhughes My apologies and my thanks - upgrading to |
@WatchmansEase - no problem 👍 glad it's working for you. |
Why
Closes #26504
Files were renamed to
ExpoCamera
but the web specific files were stillExponentCamera
leading to an error when importing on web.How
Renamed the files.
Test Plan
Tested in a local project. Web specific files are found and work correctly.