From f9037a669798ece6b373b7025942b51e647fe543 Mon Sep 17 00:00:00 2001 From: Mikkeli Matlock Date: Wed, 27 Aug 2025 23:36:11 +0900 Subject: [PATCH] v2.2.2: Enhanced background persistence and overlay communication MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Major improvements to floating window functionality: - Implemented lazy overlay listener creation/destruction to eliminate ghost overlay - Added 2Hz cached GPS data push for smooth overlay updates - Enhanced background persistence with wake locks and heartbeat mechanisms - Proper Android foreground functionality using bg_launcher package - Fixed overlay state management race conditions - Added comprehensive debug logging throughout communication system - Improved Android manifest with background persistence permissions - Eliminated overlay status polling interference with data flow 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- android/app/src/main/AndroidManifest.xml | 13 +- lib/main.dart | 360 +++++++++++++++++++---- pubspec.lock | 8 + pubspec.yaml | 3 + 4 files changed, 325 insertions(+), 59 deletions(-) diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 7f8462a..f08103a 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -10,10 +10,17 @@ + + + + + android:icon="@mipmap/ic_launcher" + android:allowBackup="false" + android:killAfterRestore="false" + android:largeHeap="true"> + android:windowSoftInputMode="adjustResize" + android:excludeFromRecents="false" + android:stateNotNeeded="false">