Skip to content

Support for 16 KB memory page size#59

Open
Persie0 wants to merge 2 commits intovladiH:masterfrom
Persie0:master
Open

Support for 16 KB memory page size#59
Persie0 wants to merge 2 commits intovladiH:masterfrom
Persie0:master

Conversation

@Persie0
Copy link
Copy Markdown

@Persie0 Persie0 commented Oct 14, 2025

Should fix #58

Copilot AI review requested due to automatic review settings December 19, 2025 23:14
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Android native dependencies to support 16 KB memory page sizes, addressing issue #58. This is necessary for compatibility with Android 15 and newer devices that use 16 KB page sizes instead of the traditional 4 KB pages.

Key changes:

  • Migrates from a custom OpenCV build to the official OpenCV Maven repository
  • Updates all LiteRT (TensorFlow Lite) dependencies from version 1.4.0 to 1.4.1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread android/build.gradle
implementation 'com.google.ai.edge.litert:litert-support:1.4.0'
implementation 'com.google.ai.edge.litert:litert-metadata:1.4.0'
} No newline at end of file
implementation 'org.opencv:opencv:4.12.0'
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change from a custom OpenCV build (com.github.vladiH:opencv-android) to the official repository (org.opencv:opencv) may introduce API differences or behavioral changes. This is effectively a major version change from a custom v1.0.0 to OpenCV 4.12.0. Consider documenting any necessary API changes in the CHANGELOG.md and verifying that all OpenCV usage throughout the codebase (particularly in FlutterVisionPlugin.java, Yolov8Seg.java, and utils.java) remains compatible with the official OpenCV 4.x API.

Copilot uses AI. Check for mistakes.
@oigabrielteodoro
Copy link
Copy Markdown

+1

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.

Add support for 16 KB memory page size (Android 15+ compliance)

3 participants