diff --git a/mobile/android/app/build.gradle b/mobile/android/app/build.gradle index 38ef303b6e..ccf6321402 100644 --- a/mobile/android/app/build.gradle +++ b/mobile/android/app/build.gradle @@ -72,6 +72,11 @@ android { } buildTypes { + debug { + applicationIdSuffix '.debug' + versionNameSuffix '-DEBUG' + } + release { signingConfig signingConfigs.release } diff --git a/mobile/lib/shared/providers/server_info.provider.dart b/mobile/lib/shared/providers/server_info.provider.dart index ae2779adb1..2613b85224 100644 --- a/mobile/lib/shared/providers/server_info.provider.dart +++ b/mobile/lib/shared/providers/server_info.provider.dart @@ -76,7 +76,7 @@ class ServerInfoNotifier extends StateNotifier { return { "major": int.parse(major), "minor": int.parse(minor), - "patch": int.parse(patch), + "patch": int.parse(patch.replaceAll("-DEBUG", "")), }; } }