diff --git a/mobile/build.gradle.kts b/mobile/build.gradle.kts index 6b545b74..f5bfff67 100644 --- a/mobile/build.gradle.kts +++ b/mobile/build.gradle.kts @@ -52,7 +52,6 @@ android { proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro") } } - androidResources.generateLocaleConfig = true packagingOptions.resources.excludes.addAll(listOf( "**/*.kotlin_*", "META-INF/versions/**", diff --git a/mobile/src/main/AndroidManifest.xml b/mobile/src/main/AndroidManifest.xml index 92631bb4..980ab420 100644 --- a/mobile/src/main/AndroidManifest.xml +++ b/mobile/src/main/AndroidManifest.xml @@ -77,6 +77,7 @@ android:banner="@mipmap/banner" android:hasFragileUserData="true" android:icon="@mipmap/ic_launcher" + android:localeConfig="@xml/locales_config" android:enableOnBackInvokedCallback="true" android:supportsRtl="true" android:theme="@style/AppTheme" diff --git a/mobile/src/main/res/resources.properties b/mobile/src/main/res/resources.properties deleted file mode 100644 index 467b3efe..00000000 --- a/mobile/src/main/res/resources.properties +++ /dev/null @@ -1 +0,0 @@ -unqualifiedResLocale=en-US diff --git a/mobile/src/main/res/xml/locales_config.xml b/mobile/src/main/res/xml/locales_config.xml new file mode 100644 index 00000000..4695e232 --- /dev/null +++ b/mobile/src/main/res/xml/locales_config.xml @@ -0,0 +1,9 @@ + + + + + + + + +