diff --git a/CHANGELOG.md b/CHANGELOG.md index a301647..f49aa90 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ +## 0.12.1 (October 28, 2025) +* **CRITICAL FIX**: Properly implement Android 16KB page size support +* Migrated from TensorFlow Lite 2.12.0 to Google AI Edge LiteRT 1.4.0 +* LiteRT provides native libraries with 16KB page alignment required by Google Play +* Added verification script (scripts/verify_16kb.sh) to check page size alignment +* Note: Version 0.12.0 claimed 16KB support but used TensorFlow Lite 2.12.0 (incompatible) + ## 0.12.0 (October 27, 2025) -* Android 16KB page size support for Google Play 2025 compliance +* Android 16KB page size support attempted (incomplete - fixed in 0.12.1) * Updated Android Gradle Plugin to 8.6.1 * Updated Compile SDK to 36 (Android 15+) * Modernized Gradle build system with plugins DSL diff --git a/android/build.gradle b/android/build.gradle index 7662206..f664466 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -63,8 +63,8 @@ android { dependencies { - def tflite_version = "2.12.0" + def litert_version = "1.4.0" - implementation("org.tensorflow:tensorflow-lite:${tflite_version}") - implementation("org.tensorflow:tensorflow-lite-gpu:${tflite_version}") + implementation("com.google.ai.edge.litert:litert:${litert_version}") + implementation("com.google.ai.edge.litert:litert-gpu:${litert_version}") } diff --git a/pubspec.yaml b/pubspec.yaml index 4889cb2..fffa988 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ name: tflite_flutter 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. -version: 0.12.0 +version: 0.12.1 homepage: https://github.com/tensorflow/flutter-tflite environment: