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

what is minimum SDK for Android? #1234

Open
inteist opened this issue Nov 7, 2024 · 2 comments
Open

what is minimum SDK for Android? #1234

inteist opened this issue Nov 7, 2024 · 2 comments

Comments

@inteist
Copy link

inteist commented Nov 7, 2024

sorry if this is an ignorant question but I couldn't find this in the documentation

I have been testing the package on Android 34 but then I tried to run it on Android 27 in a simulator and when the camera activates - it goes haywire.

@navaronbracke
Copy link
Collaborator

The minimum is 21, which is also the minimum required version for CameraX and Flutter itself.

https://github.com/juliansteenbakker/mobile_scanner/blob/master/android/build.gradle#L49

What are you seeing on the emulator? Since the emulators do not have a camera, they provide a fake preview (the scene with the wood furniture and chessboard wall art). Is your emulator itself throwing errors?

@inteist
Copy link
Author

inteist commented Nov 8, 2024

On 27, I am not sure what happens exactly, but it seems it goes into an infinite loop of opening and closing the camera simulator. The screen flickers and the application force closes after a while. I have made sure I "cold reboot" the emulator.

If that is the case in terms of API (being 21) I can try to create a new emulator and see if the issue is still there.

Thanks for getting back to me on this. Appreciate it.

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