Kaynağa Gözat

Remove WRITE_EXTERNAL_STORAGE and CHECK_LICENSE permission and reduce minSdkVersion to version 16

pull/531/head
Guillaume Vincent 4 yıl önce
ebeveyn
işleme
e6904753a2
3 değiştirilmiş dosya ile 8 ekleme ve 5 silme
  1. +2
    -0
      mobile/android/app/build.gradle
  2. +5
    -4
      mobile/android/app/src/main/AndroidManifest.xml
  3. +1
    -1
      mobile/android/build.gradle

+ 2
- 0
mobile/android/app/build.gradle Dosyayı Görüntüle

@@ -171,11 +171,13 @@ 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"]
}
}



+ 5
- 4
mobile/android/app/src/main/AndroidManifest.xml Dosyayı Görüntüle

@@ -5,10 +5,11 @@

<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:node="remove"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="remove" />

<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" tools:remove="${excludeSystemAlertWindowPermission}"/>
<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" />
<uses-permission tools:node="remove" android:name="android.vending.CHECK_LICENSE" />
<application
android:name=".MainApplication"
android:label="@string/app_name"


+ 1
- 1
mobile/android/build.gradle Dosyayı Görüntüle

@@ -34,7 +34,7 @@ allprojects {

ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 21
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28
def npmVersion = getNpmVersionArray()


Yükleniyor…
İptal
Kaydet