BITAU-68 Specify build specific bridge permission in manifest (#218)

This commit is contained in:
Andrew Haisting authored and GitHub committed 2024-10-03 13:45:27 -05:00
1 parent ee165491c9
commit 93423d4b13
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -54,12 +54,14 @@ android {
buildTypes {
debug {
manifestPlaceholders["targetBitwardenAppId"] = "com.x8bit.bitwarden.dev"
signingConfig = signingConfigs.getByName("debug")
isDebuggable = true
isMinifyEnabled = false
}
release {
manifestPlaceholders["targetBitwardenAppId"] = "com.x8bit.bitwarden"
isMinifyEnabled = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
+1 -1
View File
@@ -11,7 +11,7 @@
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.x8bit.bitwarden.permission.AUTHENTICATOR_BRIDGE_SERVICE" />
<uses-permission android:name="${targetBitwardenAppId}.permission.AUTHENTICATOR_BRIDGE_SERVICE" />
<application
android:name=".AuthenticatorApplication"