Skip to content

Start in gallery mode instead of opening the camera by default #49

Description

@JTWindshaker

Description
Currently, when calling FlutterDocScanner().getScannedDocumentAsPdf(), the default behavior is to open the camera interface. However, the scanner UI includes a gallery button that allows users to select images from their device.

I would like to open the gallery directly when launching the scanner, without having to manually tap the gallery button.

Expected Behavior
When calling the scanning function, the gallery should be the first view that appears.
The user can still switch to the camera if needed.

Use Case
This feature would be useful for applications where users prefer scanning existing images instead of taking new ones.

Question
Is there an option to achieve this, or would it require modifying the package's source code?

Thanks in advance for any guidance! 🙌

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions