Skip to content

Add support for GmsDocumentScanner (MLKit) by delegating it to third-party apps #3078

@nethad

Description

@nethad

Is your feature request related to a problem? Please describe.
I use an app that uses GmsDocumentScanner (MLKit) to initiate document scanning. This is provided by Play Services but does not currently work in MicroG since it seems to be not implemented.

Describe the solution you'd like
Since GmsDocumentScanner starts an intent, I think it should be possible to hand this to a third-party app like MakeACopy by using the Android mechanism of choosing an app to fulfill an intent. Third-party apps would have to register for said intent, but then they would take over the flow and return a PDF/image.

Describe alternatives you've considered
Alternative: embedding a third-party app like MakeACopy as a library (if the licence permits it) and distribute it as part of MicroG.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions