Skip to content

High performance self-hosted photo and video management solution.

chore(mobile): name pr builds after their pr number (#31541)

Santo Shakilaa8c5be42de4
diff --git a/mobile/android/app/build.gradle b/mobile/android/app/build.gradle
index 7e3d67fa81..7b3217ef85 100644
--- a/mobile/android/app/build.gradle
+++ b/mobile/android/app/build.gradle
@@ -42,6 +42,7 @@ android {
targetSdk = flutter.targetSdkVersion
versionCode flutter.versionCode
versionName flutter.versionName
+ resValue "string", "app_name", "Immich"
}
signingConfigs {
@@ -72,6 +73,7 @@ android {
if (prNumber) {
applicationIdSuffix ".pr${prNumber}"
versionNameSuffix "-pr${prNumber}"
+ resValue "string", "app_name", "Immich PR ${prNumber}"
}
}
}
diff --git a/mobile/android/app/src/main/AndroidManifest.xml b/mobile/android/app/src/main/AndroidManifest.xml
index 5f4de8284a..a93c8af339 100644
--- a/mobile/android/app/src/main/AndroidManifest.xml
+++ b/mobile/android/app/src/main/AndroidManifest.xml
@@ -25,7 +25,7 @@
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_LOCATION" />
- <application android:label="Immich" android:name=".ImmichApp" android:usesCleartextTraffic="true"
+ <application android:label="@string/app_name" android:name=".ImmichApp" android:usesCleartextTraffic="true"
android:icon="@mipmap/ic_launcher" android:requestLegacyExternalStorage="true"
android:largeHeap="true" android:enableOnBackInvokedCallback="false" android:allowBackup="false"
android:networkSecurityConfig="@xml/network_security_config">