Build with different name and ID in debug mode
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
This commit is contained in:
parent
707c8c19a8
commit
c696e9f275
@ -40,6 +40,10 @@ android {
|
|||||||
release {
|
release {
|
||||||
if (keystorePropertiesFile.exists()) signingConfig signingConfigs.release
|
if (keystorePropertiesFile.exists()) signingConfig signingConfigs.release
|
||||||
}
|
}
|
||||||
|
debug {
|
||||||
|
applicationIdSuffix ".debug"
|
||||||
|
versionNameSuffix "-debug"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
cmake {
|
cmake {
|
||||||
|
4
app/src/debug/res/values/strings.xml
Normal file
4
app/src/debug/res/values/strings.xml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<string name="app_name">WireGuard β</string>
|
||||||
|
</resources>
|
@ -9,7 +9,7 @@
|
|||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||||
|
|
||||||
<permission
|
<permission
|
||||||
android:name="com.wireguard.android.permission.CONTROL_TUNNELS"
|
android:name="${applicationId}.permission.CONTROL_TUNNELS"
|
||||||
android:protectionLevel="dangerous"
|
android:protectionLevel="dangerous"
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:label="@string/permission_label"
|
android:label="@string/permission_label"
|
||||||
@ -59,7 +59,7 @@
|
|||||||
|
|
||||||
<receiver
|
<receiver
|
||||||
android:name=".model.TunnelManager$IntentReceiver"
|
android:name=".model.TunnelManager$IntentReceiver"
|
||||||
android:permission="com.wireguard.android.permission.CONTROL_TUNNELS">
|
android:permission="${applicationId}.permission.CONTROL_TUNNELS">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="com.wireguard.android.action.REFRESH_TUNNEL_STATES" />
|
<action android:name="com.wireguard.android.action.REFRESH_TUNNEL_STATES" />
|
||||||
<action android:name="com.wireguard.android.action.SET_TUNNEL_UP" />
|
<action android:name="com.wireguard.android.action.SET_TUNNEL_UP" />
|
||||||
|
Loading…
Reference in New Issue
Block a user