Conversation
d7f7332 to
9548be3
Compare
9548be3 to
c774793
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting
| @@ -0,0 +1,3 @@ | |||
| import "@visionrtc/source-visioncamera/register"; | |||
There was a problem hiding this comment.
Import plugin via unexported subpath
The wrapper unconditionally imports @visionrtc/source-visioncamera/register, but the plugin’s package.json only exposes the "." entry and does not export a ./register subpath (packages/source-visioncamera/package.json). With Node/Metro’s package exports resolution this path raises ERR_PACKAGE_PATH_NOT_EXPORTED, so simply importing react-native-vision-rtc fails before any of the APIs run. Import the package root (which already triggers registration) or add "./register" to the plugin’s exports map.
Useful? React with 👍 / 👎.
No description provided.