Explorar el Código

Remove WRITE_EXTERNAL_STORAGE and CHECK_LICENSE permission and reduce minSdkVersion to version 16

pull/531/head
Guillaume Vincent hace 4 años
padre
commit
e6904753a2
Se han modificado 3 ficheros con 8 adiciones y 5 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

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

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


Cargando…
Cancelar
Guardar