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

fix: error with returning image on android #846

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

ob-juliandixon
Copy link
Contributor

When using a MobileScannerController with returnImage set to true, my android app would throw several messages about trying to call getWidth or getHeight on a recycled bitmap, this change fixes the issue and allows the app to continue and capture the image

@ob-juliandixon ob-juliandixon changed the title Fixing an error with returning image on android fix: error with returning image on android Nov 1, 2023
@navaronbracke navaronbracke merged commit 45b027a into juliansteenbakker:master Nov 2, 2023
4 of 5 checks passed
joaopedro735 pushed a commit to joaopedro735/mobile_scanner that referenced this pull request Aug 22, 2024
fix: error with returning image on android
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

Successfully merging this pull request may close these issues.

2 participants