beta + add preference unified push distributor

This commit is contained in:
Arne 2023-01-10 15:24:01 +01:00
parent 072d13129d
commit 51e192e573
2 changed files with 20 additions and 4 deletions

View file

@ -114,16 +114,16 @@ android {
archivesBaseName += "-$versionName"
archivesBaseName += "$versionNameSuffix" // activate for beta versions
applicationId "de.monocles.chat"
applicationId "de.monocles.chat.beta"
multiDexEnabled true
buildConfigField("String", "LOGTAG", '"monocles chat"')
buildConfigField("String", "LOGTAG", '"monocles chat beta"')
buildConfigField("String", "DOMAIN_LOCK", 'null')
buildConfigField("boolean", "SHOW_INTRO", 'true')
buildConfigField("String", "UPDATE_URL", '"https://monocles.eu/chat/update/"')
resValue "string", "applicationId", applicationId
resValue "string", "app_name", "monocles chat"
resValue "string", "short_app_name", "chat"
resValue "string", "app_name", "monocles chat beta"
resValue "string", "short_app_name", "chat beta"
}

View file

@ -500,6 +500,22 @@
android:summary="@string/pref_enable_multi_accounts_summary"
android:title="@string/pref_enable_multi_accounts_title" />
</PreferenceCategory>
<PreferenceCategory
android:key="unified_push"
android:title="@string/unified_push_distributor">
<ListPreference
android:defaultValue="@string/default_push_account"
android:key="up_push_account"
android:summary="@string/pref_up_push_account_summary"
android:title="@string/pref_up_push_account_title" />
<EditTextPreference
android:defaultValue="@string/default_push_server"
android:key="up_push_server"
android:summary="@string/pref_up_push_server_summary"
android:title="@string/pref_up_push_server_title" />
</PreferenceCategory>
<PreferenceCategory
android:key="UI"
android:title="@string/pref_ui_options">