From 1b40a3df19f3a20351667f108be8bc8bda865d30 Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Wed, 22 Mar 2023 04:29:24 -0400 Subject: android: Add data extraction rules --- src/android/app/src/main/AndroidManifest.xml | 7 +++-- .../app/src/main/res/xml/data_extraction_rules.xml | 16 ++++++++++ .../main/res/xml/data_extraction_rules_api_31.xml | 35 ++++++++++++++++++++++ 3 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 src/android/app/src/main/res/xml/data_extraction_rules.xml create mode 100644 src/android/app/src/main/res/xml/data_extraction_rules_api_31.xml diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xml index 2cb4e971d..4164bd96f 100644 --- a/src/android/app/src/main/AndroidManifest.xml +++ b/src/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,6 @@ - + @@ -22,7 +23,9 @@ android:supportsRtl="true" android:isGame="true" android:banner="@mipmap/ic_launcher" - android:extractNativeLibs="true"> + android:extractNativeLibs="true" + android:fullBackupContent="@xml/data_extraction_rules" + android:dataExtractionRules="@xml/data_extraction_rules_api_31"> + + + + + + + + + diff --git a/src/android/app/src/main/res/xml/data_extraction_rules_api_31.xml b/src/android/app/src/main/res/xml/data_extraction_rules_api_31.xml new file mode 100644 index 000000000..637fc9e67 --- /dev/null +++ b/src/android/app/src/main/res/xml/data_extraction_rules_api_31.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3