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

Access to camera #58

Open
cardeo-ewan opened this issue Jan 8, 2022 · 2 comments
Open

Access to camera #58

cardeo-ewan opened this issue Jan 8, 2022 · 2 comments

Comments

@cardeo-ewan
Copy link

In my app, I need access to the camera to take a picture and I also need to scan a bar code in the same app. When I use the standard camera package, this stops the fast_barcode_scanner working because (I think), the camera package takes over the camera.

Is there a way of exposing the camera controller so that it could be used to take a picture in a separate tab/page?

Thanks

@dustin-graham
Copy link
Collaborator

@cardeo-ewan , I have both the camera package and this package working in my app right now. I haven't run into problems using them both. However, you won't be able to simultaneously be able to do barcode scanning and take pictures. In my use case these are separate activities for the user. I do take very special care to ensure that the camera resources are cleaned up when I'm done using it though. Perhaps double check that you are closing everything down before you switch to the barcode scanner?

@cardeo-ewan
Copy link
Author

cardeo-ewan commented Jan 12, 2022 via email

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

No branches or pull requests

2 participants