From 1e2e4d9187d4eb3bd2e225fe22e5e00fcbcd29e7 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Tue, 6 Oct 2026 09:21:11 -0500 Subject: [PATCH] fix(android): enable activity-wide accessibility privacy Pin mobile_app_privacy to e60766bc420861b9e8c804627d84cbd570b04ff6 and enable its application metadata startup policy. On Android 14+, the plugin marks the activity decor view sensitive to filter non-tool accessibility services while preserving accessibility tools. --- pubspec.lock | 6 +++--- .../templates/android/app/src/main/AndroidManifest.xml | 6 +++++- scripts/app_config/templates/pubspec.template.yaml | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index 556d29cbec..5bad5ba7cc 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1631,11 +1631,11 @@ packages: dependency: "direct main" description: path: "." - ref: "0f07a82569854c1830a66ae86daa9308b382617a" - resolved-ref: "0f07a82569854c1830a66ae86daa9308b382617a" + ref: e60766bc420861b9e8c804627d84cbd570b04ff6 + resolved-ref: e60766bc420861b9e8c804627d84cbd570b04ff6 url: "https://github.com/cypherstack/mobile_app_privacy" source: git - version: "0.0.4" + version: "0.0.5" mockingjay: dependency: "direct dev" description: diff --git a/scripts/app_config/templates/android/app/src/main/AndroidManifest.xml b/scripts/app_config/templates/android/app/src/main/AndroidManifest.xml index d10488cc9e..250e7a2638 100644 --- a/scripts/app_config/templates/android/app/src/main/AndroidManifest.xml +++ b/scripts/app_config/templates/android/app/src/main/AndroidManifest.xml @@ -12,6 +12,10 @@ android:icon="@mipmap/ic_launcher" android:allowBackup="false" android:fullBackupContent="false"> + + - \ No newline at end of file + diff --git a/scripts/app_config/templates/pubspec.template.yaml b/scripts/app_config/templates/pubspec.template.yaml index 72ea8a6af7..2bcdc19bcc 100644 --- a/scripts/app_config/templates/pubspec.template.yaml +++ b/scripts/app_config/templates/pubspec.template.yaml @@ -273,7 +273,7 @@ dependencies: mobile_app_privacy: git: url: https://github.com/cypherstack/mobile_app_privacy - ref: 0f07a82569854c1830a66ae86daa9308b382617a + ref: e60766bc420861b9e8c804627d84cbd570b04ff6 # required for web3dart to use EthereumAddress class... wallet: 0.0.18