Quellcode durchsuchen

Remove SYSTEM_ALERT_WINDOW permission correctly for release bundle

pull/531/head
Guillaume Vincent vor 4 Jahren
Ursprung
Commit
c6af54b980
2 geänderte Dateien mit 1 neuen und 3 gelöschten Zeilen
  1. +0
    -2
      mobile/android/app/build.gradle
  2. +1
    -1
      mobile/android/app/src/main/AndroidManifest.xml

+ 0
- 2
mobile/android/app/build.gradle Datei anzeigen

@@ -171,13 +171,11 @@ android {
buildTypes {
debug {
signingConfig signingConfigs.debug
manifestPlaceholders = [excludeSystemAlertWindowPermission: "false"]
}
release {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release
manifestPlaceholders = [excludeSystemAlertWindowPermission: "true"]
}
}



+ 1
- 1
mobile/android/app/src/main/AndroidManifest.xml Datei anzeigen

@@ -5,7 +5,7 @@

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.USE_FINGERPRINT" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" tools:remove="${excludeSystemAlertWindowPermission}"/>
<uses-permission tools:node="remove" android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission tools:node="remove" android:name="android.permission.READ_PHONE_STATE" />
<uses-permission tools:node="remove" android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission tools:node="remove" android:name="android.permission.READ_EXTERNAL_STORAGE" />


Laden…
Abbrechen
Speichern