Open cardeo-ewan opened 2 years ago
@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?
Thanks Dustin. I’m probably not disposing of the camera correctly. I’ll check that now.
On 11 Jan 2022, at 23:07, Dustin Graham @.***> wrote:
@cardeo-ewan https://github.com/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?
— Reply to this email directly, view it on GitHub https://github.com/jhoogstraat/fast_barcode_scanner/issues/58#issuecomment-1010446777, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATXYR7TSYQWQF6OGQEPVSQLUVSZZZANCNFSM5LQWCA5A. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.
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