added german translation and store stuff for app

This commit is contained in:
Jan Pleterski
2026-11-13 10:56:11 +01:00
parent d4bc01f202
commit 30708c73b1
47 changed files with 530 additions and 160 deletions
+8 -8
View File
@@ -19,7 +19,7 @@ android {
namespace = "si.sdkkovinar.app"
compileSdk = flutter.compileSdkVersion
ndkVersion = "27.0.12077973" // ✅ Keep only this line
ndkVersion = "27.0.12077973"
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
@@ -52,19 +52,19 @@ android {
buildTypes {
release {
// Falls back to debug key only when key.properties is missing (local testing).
signingConfig = if (keystorePropertiesFile.exists()) {
signingConfigs.getByName("release")
} else {
signingConfigs.getByName("debug")
}
signingConfig = signingConfigs.getByName("release")
isMinifyEnabled = false
isShrinkResources = false
}
}
}
// Never ship a debug-signed release (Play rejects it): fail release builds without the upload key.
gradle.taskGraph.whenReady {
if (!keystorePropertiesFile.exists() && allTasks.any { it.name.contains("Release") }) {
throw GradleException("android/key.properties missing — release builds need the upload keystore.")
}
}
dependencies {
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4")
+1 -3
View File
@@ -8,7 +8,6 @@
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
<!-- Added by the camera plugin; the app only takes photos (enableAudio: false) -->
<uses-permission android:name="android.permission.RECORD_AUDIO" tools:node="remove"/>
@@ -19,8 +18,7 @@
android:enableOnBackInvokedCallback="true"
android:usesCleartextTraffic="true"
android:icon="@mipmap/ic_launcher"
android:networkSecurityConfig="@xml/network_security_config"
android:localeConfig="@xml/locales_config">
android:networkSecurityConfig="@xml/network_security_config">
<activity
android:name=".MainActivity"
@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Languages offered in Android 13+ Settings > Apps > SDK Kovinar > Language -->
<locale-config xmlns:android="http://schemas.android.com/apk/res/android">
<locale android:name="sl"/>
<locale android:name="en"/>
</locale-config>