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

The native view manager required by name (ExpoBarCodeScannerView) from NativeViewManagerAdapter isn't exported by expo-modules-core. #26315

Closed
Hao-yiwen opened this issue Jan 9, 2024 · 4 comments
Labels
invalid issue: question Issues on this repository are reserved for bug reports outdated

Comments

@Hao-yiwen
Copy link

Do you understand that any discussions or questions opened as issues in the core Expo repository will be closed?

Yes

@Hao-yiwen Hao-yiwen added the invalid issue: question Issues on this repository are reserved for bug reports label Jan 9, 2024
@expo-bot
Copy link
Collaborator

expo-bot commented Jan 9, 2024

Hello! Our GitHub issues are reserved for bug reports.

If you have a question about Expo or related tools, please post on our forums at https://forums.expo.dev/ or join our Discord at https://chat.expo.dev/.

Resources

@expo-bot expo-bot closed this as completed Jan 9, 2024
@Hao-yiwen
Copy link
Author

 "expo": "~47.0.3",
    "expo-av": "~13.0.0",
    "expo-barcode-scanner": "~12.1.0",
    "expo-brightness": "~11.0.0",
    "expo-camera": "~13.0.0",
    "expo-file-system": "~15.1.1",
    "expo-image-picker": "~14.0.0",
    "expo-keep-awake": "~11.0.1",
    "expo-location": "~15.0.1",
    "expo-sensors": "~12.0.1",

@Hao-yiwen Hao-yiwen changed the title The native view manager required by name (ExpoBarCodeScannerView) from NativeViewManagerAdapter isn't exported by expo-modules-core. Views of this type may not render correctly. Exported view managers: [ExpoVideoView, ExpoBarCodeScanner, ExpoCamera, ExpoCameraNext]. The native view manager required by name (ExpoBarCodeScannerView) from NativeViewManagerAdapter isn't exported by expo-modules-core. Jan 9, 2024
@Hao-yiwen
Copy link
Author

Views of this type may not render correctly. Exported view managers: [ExpoVideoView, ExpoBarCodeScanner, ExpoCamera, ExpoCameraNext].

@linonetwo
Copy link

Use this https://github.com/expo/fyi/blob/main/barcode-scanner-to-expo-camera.md

But I get same error too

 WARN  The native view manager required by name (ExpoCameraNext) from NativeViewManagerAdapter isn't exported by expo-modules-core. Views of this type may not render correctly. Exported view managers: [ExpoVideoView, ExpoLinearGradient, ExpoImage, ExponentGLView, ExpoBlurView, ExpoCamera, ExpoBarCodeScanner].
 ERROR  Error: Cannot find native module 'ExpoCameraNext', js engine: hermes
 ERROR  Invariant Violation: "main" has not been registered. This can happen if:
* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
* A module failed to load due to an error and `AppRegistry.registerComponent` wasn't called., js engine: hermes

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid issue: question Issues on this repository are reserved for bug reports outdated
Projects
None yet
Development

No branches or pull requests

3 participants