Skip to content

Commit 85fb92e

Browse files
authored
Merge pull request #299 from bhanuka96/fix/16kb-litert-migration
Migrate to LiteRT 1.4.0 for Proper 16KB Page Size Support
2 parents a60c53d + 9f69578 commit 85fb92e

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
## 0.12.1 (October 28, 2025)
2+
* **CRITICAL FIX**: Properly implement Android 16KB page size support
3+
* Migrated from TensorFlow Lite 2.12.0 to Google AI Edge LiteRT 1.4.0
4+
* LiteRT provides native libraries with 16KB page alignment required by Google Play
5+
* Added verification script (scripts/verify_16kb.sh) to check page size alignment
6+
* Note: Version 0.12.0 claimed 16KB support but used TensorFlow Lite 2.12.0 (incompatible)
7+
18
## 0.12.0 (October 27, 2025)
2-
* Android 16KB page size support for Google Play 2025 compliance
9+
* Android 16KB page size support attempted (incomplete - fixed in 0.12.1)
310
* Updated Android Gradle Plugin to 8.6.1
411
* Updated Compile SDK to 36 (Android 15+)
512
* Modernized Gradle build system with plugins DSL

android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ android {
6363

6464

6565
dependencies {
66-
def tflite_version = "2.12.0"
66+
def litert_version = "1.4.0"
6767

68-
implementation("org.tensorflow:tensorflow-lite:${tflite_version}")
69-
implementation("org.tensorflow:tensorflow-lite-gpu:${tflite_version}")
68+
implementation("com.google.ai.edge.litert:litert:${litert_version}")
69+
implementation("com.google.ai.edge.litert:litert-gpu:${litert_version}")
7070
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
name: tflite_flutter
1818
description: TensorFlow Lite Flutter plugin provides an easy, flexible, and fast Dart API to integrate TFLite models in flutter apps across mobile and desktop platforms.
19-
version: 0.12.0
19+
version: 0.12.1
2020
homepage: https://github.com/tensorflow/flutter-tflite
2121

2222
environment:

0 commit comments

Comments
 (0)