mirror of
https://github.com/bitwarden/android.git
synced 2026-08-26 22:04:07 -05:00
BITAU-68 Specify build specific bridge permission in manifest (#218)
This commit is contained in:
@@ -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"),
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user