From 6eeb9d8ac4ced9bd317d5de5f1951a80adcbcef3 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Fri, 18 Sep 2020 10:28:46 +0200 Subject: [PATCH] AndroidManifest.xml: disable auto-backup of (encrypted) app data Android 6.0 and later automatically backs up app data and allow the user to restore it when setting up a new device. Unfortunately, the app data is encrypted with a device specific master key, rendering the data unreadable on the second device. Apply the allowBackup=false hammer since we only store device-specific (logs) and sensitive (private keys, authentication tokens) data for now. Fixes tailscale/tailscale#732 Signed-off-by: Elias Naur --- android/src/main/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index fec93a6..f9fdc1a 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -8,7 +8,7 @@ + android:name=".App" android:allowBackup="false">