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

feat: Add picklist mode sample to the example app #1188

Merged
merged 17 commits into from
Jan 12, 2025

Conversation

jsroest
Copy link
Contributor

@jsroest jsroest commented Sep 23, 2024

This PR adds a picklist mode sample to the sample app.

This sample is not fully optimised, because of this issue:
MobileScannerState.size is not equal to BarcodeCapture.size on iOS

@jsroest jsroest changed the title Add picklist mode sample to the example app feat: Add picklist mode sample to the example app Sep 23, 2024
jsroest and others added 3 commits October 7, 2024 08:26
… Remove the optimisation, that's now not needed anymore.
…orners seems not correct, but that does not influence this use-case.
@maxfrees
Copy link

maxfrees commented Oct 27, 2024

image
Can do a demo in this form

@maxfrees
Copy link

image
Can you provide a demo like this ?

Sander Roest added 2 commits December 2, 2024 11:39
# Conflicts:
#	example/lib/picklist/barcode_scanner_picklist.dart
#	example/lib/picklist/classes/barcode_at_center.dart
@jsroest
Copy link
Contributor Author

jsroest commented Dec 2, 2024

The latest version of the picklist sample uses the fact that the image size is now always available, also when returnImage is false. It still relies on two workarounds 'fixPortraitLandscape' and 'fixCorners'.

picklist_sample.mov

@juliansteenbakker
Copy link
Owner

Hi all, sorry for my absence, but i've tested your code and it looks like the example runs fine on android and ios! I do think we also need to solve the issues mentioned in #1183, but since this code is only an example, and it also contains a workaround for now, i think it is save to merge this into our current release, and try to fix #1183 in a next release.

@juliansteenbakker juliansteenbakker merged commit bafacb5 into juliansteenbakker:master Jan 12, 2025
1 check passed
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.

3 participants