diff --git a/mobile/build.gradle.kts b/mobile/build.gradle.kts index 672a8549..092372b1 100644 --- a/mobile/build.gradle.kts +++ b/mobile/build.gradle.kts @@ -52,6 +52,7 @@ 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 980ab420..92631bb4 100644 --- a/mobile/src/main/AndroidManifest.xml +++ b/mobile/src/main/AndroidManifest.xml @@ -77,7 +77,6 @@ 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 new file mode 100644 index 00000000..467b3efe --- /dev/null +++ b/mobile/src/main/res/resources.properties @@ -0,0 +1 @@ +unqualifiedResLocale=en-US diff --git a/mobile/src/main/res/xml/locales_config.xml b/mobile/src/main/res/xml/locales_config.xml deleted file mode 100644 index 4695e232..00000000 --- a/mobile/src/main/res/xml/locales_config.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - -