build(debug): отдельный applicationId для debug-сборки

Суффикс .debug + versionNameSuffix + своё имя на лаунчере -
debug ставится рядом с релизом. Копия shortcuts.xml с debug-пакетом,
иначе система отбрасывает статические шорткаты.
This commit is contained in:
samosvalishe committed 2026-07-08 01:45:33 +03:00
1 parent 9383401188
commit a29c060262
3 files changed
+33 -1

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<shortcut
android:shortcutId="start_proxy"
android:enabled="true"
android:icon="@drawable/play_arrow_24px"
android:shortcutShortLabel="@string/shortcut_start_short"
android:shortcutLongLabel="@string/shortcut_start_long">
<intent
android:action="com.freeturn.app.START_PROXY"
android:targetPackage="com.freeturn.app.debug"
android:targetClass="com.freeturn.app.service.ProxyShortcutActivity" />
</shortcut>
<shortcut
android:shortcutId="stop_proxy"
android:enabled="true"
android:icon="@drawable/stop_24px"
android:shortcutShortLabel="@string/shortcut_stop_short"
android:shortcutLongLabel="@string/shortcut_stop_long">
<intent
android:action="com.freeturn.app.STOP_PROXY"
android:targetPackage="com.freeturn.app.debug"
android:targetClass="com.freeturn.app.service.ProxyShortcutActivity" />
</shortcut>
</shortcuts>
+1 -1
View File
@@ -39,7 +39,7 @@
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="FreeTurn"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:networkSecurityConfig="@xml/network_security_config"