ソースを参照

Remove WRITE_EXTERNAL_STORAGE and CHECK_LICENSE permission and reduce minSdkVersion to version 16

pull/531/head
Guillaume Vincent 4年前
コミット
e6904753a2
3個のファイルの変更8行の追加5行の削除
  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 ファイルの表示

@@ -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 ファイルの表示

@@ -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 ファイルの表示

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

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


読み込み中…
キャンセル
保存