[MBL-19698][All] Add native document scanner for file uploads#3552
Open
hermannakos wants to merge 1 commit intomasterfrom
Open
[MBL-19698][All] Add native document scanner for file uploads#3552hermannakos wants to merge 1 commit intomasterfrom
hermannakos wants to merge 1 commit intomasterfrom
Conversation
Integrate Google ML Kit Document Scanner API to allow users to scan physical documents directly from file upload entry points. The scanner provides multi-page scanning, auto-crop, filters, and PDF generation. - Add DocumentScannerManager in pandautils encapsulating all ML Kit interactions behind a clean API (no ML Kit types leak to app modules) - Add Scanner button to FileUploadDialogFragment (shared across all apps) - Add Scanner button to Student's PickerSubmissionUploadView (Mobius picker) - Hide scanner on unsupported devices (< 1.7GB RAM) - Add unit tests for DocumentScannerManager, ViewModel, and Update logic Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
📊 Code Coverage Report
|
🧪 Unit Test Results✅ 📱 Parent App
✅ 📱 Student App
✅ 📱 Teacher App
✅ 🌅 Horizon
✅ 📦 Submodules
📊 Summary
Last updated: Tue, 24 Feb 2026 13:11:56 GMT |
tamaskozmer
approved these changes
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test plan:
refs: MBL-19698
affects: Student, Teacher, Parent
release note: Users can now scan physical documents directly from file upload screens using the device camera, with multi-page scanning, auto-crop, and PDF generation
🤖 Generated with Claude Code