microg / microg/GmsCore

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

Open
#3,078 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the GmsDocumentScanner entry point and the linked MLKit documentation, then review Android's intent mechanism and the MakeACopy integration described in the issue. Done means document-scanning requests can be handed to a registered third-party app and the resulting PDF or image is returned to the calling app.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.