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

Add CameraView native module #2

Closed
betanyeli opened this issue Jan 28, 2023 · 1 comment
Closed

Add CameraView native module #2

betanyeli opened this issue Jan 28, 2023 · 1 comment

Comments

@betanyeli
Copy link
Owner

betanyeli commented Jan 28, 2023

"Cannot find type 'RCTBubblingEventBlock' in scope" .

@betanyeli
Copy link
Owner Author

I tried to implement the native module CameraView provided by owner, however, after add this Swift module to PeekAPic Xcode project, this module crash the compilation of the react-native app.

I added the headers and objective - c files to handle the native modules in Xcode, but they give an error in method onResultImageExported:t in type RCTBubblingEventBlock with the message: "Cannot find type 'RCTBubblingEventBlock' in scope" .

After a quick research about this error, I checked the react-native version in the package-json and Pod files, clean the build folder, recompile multiples times and it doesn't work for me.

To keep moving forward, I decided to use the library react-native-vision-camera.

Let's see how it's works 👩🏻‍💻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 Blocked
Development

No branches or pull requests

1 participant