app/permission: add documentation and storage permissions

Storage permissions enables the Android permissions
READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE.
This commit is contained in:
Greg Pomerantz
2019-11-25 13:39:35 -05:00
committed by Elias Naur
parent 99d97d2ef5
commit 8321745de9
6 changed files with 96 additions and 38 deletions
+8 -7
View File
@@ -9,15 +9,16 @@ var AndroidPermissions = map[string][]string{
"android.permission.BLUETOOTH_ADMIN",
"android.permission.ACCESS_FINE_LOCATION",
},
"bluetooth_le": {
"android.permission.BLUETOOTH",
"android.permission.BLUETOOTH_ADMIN",
"android.permission.ACCESS_FINE_LOCATION",
"storage": {
"android.permission.READ_EXTERNAL_STORAGE",
"android.permission.WRITE_EXTERNAL_STORAGE",
},
}
var AndroidFeatures = map[string][]string{
"default": {`glEsVersion="0x00030000"`},
"bluetooth": {`name="android.hardware.bluetooth"`},
"bluetooth_le": {`name="android.hardware.bluetooth_le"`},
"default": {`glEsVersion="0x00030000"`},
"bluetooth": {
`name="android.hardware.bluetooth"`,
`name="android.hardware.bluetooth_le"`,
},
}