From af5c4965720d99c83465a6ba6b957a0a527c2821 Mon Sep 17 00:00:00 2001 From: Valentin REVERSAT Date: Sat, 18 Mar 2023 00:37:00 +0100 Subject: [PATCH] feat(android): use Android 13 API to set the language in the app settings --- android/app/src/main/AndroidManifest.xml | 3 ++- android/app/src/main/res/xml/locales_config.xml | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 android/app/src/main/res/xml/locales_config.xml diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index cd72d6c4..86fae75b 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -16,7 +16,8 @@ + android:icon="@mipmap/ic_launcher" + android:localeConfig="@xml/locales_config"> diff --git a/android/app/src/main/res/xml/locales_config.xml b/android/app/src/main/res/xml/locales_config.xml new file mode 100644 index 00000000..7974f99d --- /dev/null +++ b/android/app/src/main/res/xml/locales_config.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file