From 94a63b51b04dcef2b9a43d581789e250d9ba0d60 Mon Sep 17 00:00:00 2001 From: Miroslav Mazel Date: Mon, 10 Oct 2022 01:25:26 +0200 Subject: [PATCH] Support for Android 13 per-app localization --- android/app/build.gradle | 3 ++- android/app/src/main/AndroidManifest.xml | 1 + .../app/src/main/res/xml/locale_config.xml | 20 +++++++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 android/app/src/main/res/xml/locale_config.xml diff --git a/android/app/build.gradle b/android/app/build.gradle index c4eddbf..096b0a4 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -45,10 +45,11 @@ android { defaultConfig { applicationId "ca.hamaluik.timecop" minSdkVersion 16 - targetSdkVersion 31 + targetSdkVersion 33 versionCode flutterVersionCode.toInteger() versionName flutterVersionName testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + resConfigs "en", "ar", "cs", "de", "es", "fr", "hi", "id", "it", "ja", "ko", "nb-rNO", "pt", "ru", "tr", "zh-rCN", "zh-rTW" } signingConfigs { diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index d00f033..b34d3fc 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -8,6 +8,7 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file