From f807ceb2a17da3aef066f879fc5eee6cf39e4dbe Mon Sep 17 00:00:00 2001 From: Tommy Chen Date: Wed, 23 Sep 2020 22:25:19 +0800 Subject: [PATCH] Configure backup rules for flutter_secure_storage https://github.com/mogol/flutter_secure_storage/issues/43#issuecomment-674412687 --- android/app/src/main/AndroidManifest.xml | 4 +++- android/app/src/main/res/xml/backup_rules.xml | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 android/app/src/main/res/xml/backup_rules.xml diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index c89d77e..fee0134 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -10,7 +10,9 @@ + android:icon="@mipmap/ic_launcher" + android:allowBackup="true" + android:fullBackupContent="@xml/backup_rules"> + + +