diff --git a/android/app/build.gradle b/android/app/build.gradle index 3e3e515..b7881ab 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -128,11 +128,15 @@ android { } } buildTypes { - release { - minifyEnabled enableProguardInReleaseBuilds - proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" - signingConfig signingConfigs.release - } + debug { + manifestPlaceholders = [excludeSystemAlertWindowPermission: "false"] + } + release { + manifestPlaceholders = [excludeSystemAlertWindowPermission: "true"] + minifyEnabled enableProguardInReleaseBuilds + proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" + signingConfig signingConfigs.release + } } // applicationVariants are e.g. debug, release applicationVariants.all { variant -> diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 1188575..12d8dff 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,9 +1,11 @@ + xmlns:tools="http://schemas.android.com/tools" + package="pl.ceburilo"> - +