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

How to close/dispose camera programatically? #100

Open
marko-finmatics opened this issue Dec 24, 2024 · 0 comments
Open

How to close/dispose camera programatically? #100

marko-finmatics opened this issue Dec 24, 2024 · 0 comments

Comments

@marko-finmatics
Copy link

Hi!

Is it possible to close the camera when the app is paused? We are using GeniusScan in our Flutter application.

We have a scenario where if user opens the camera to scan a document, press home button (goes to home screen) and comes back to the app, the camera is still open. That would not be an issue at all (maybe even desired behaviour) but the problem is when the user instead of just coming back to the app, use our Share Extent feature. Now the problem is that the User should have landed on one specific page and proceed with further stuff, they see opened Camera. So now, they need to press cancel button and then to the stuff. What I noticed as well, is that this behaviour is only on iOS, Android works fine.

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

1 participant