mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +00:00
2aa1cc8112
For android this provides ACCESS_NETWORK_STATE Signed-off-by: Peter Sanford <psanford@sanford.io>
34 lines
756 B
Go
34 lines
756 B
Go
package main
|
|
|
|
var AndroidPermissions = map[string][]string{
|
|
"network": {
|
|
"android.permission.INTERNET",
|
|
},
|
|
"networkstate": {
|
|
"android.permission.ACCESS_NETWORK_STATE",
|
|
},
|
|
"bluetooth": {
|
|
"android.permission.BLUETOOTH",
|
|
"android.permission.BLUETOOTH_ADMIN",
|
|
"android.permission.ACCESS_FINE_LOCATION",
|
|
},
|
|
"camera": {
|
|
"android.permission.CAMERA",
|
|
},
|
|
"storage": {
|
|
"android.permission.READ_EXTERNAL_STORAGE",
|
|
"android.permission.WRITE_EXTERNAL_STORAGE",
|
|
},
|
|
}
|
|
|
|
var AndroidFeatures = map[string][]string{
|
|
"default": {`glEsVersion="0x00020000"`, `name="android.hardware.type.pc"`},
|
|
"bluetooth": {
|
|
`name="android.hardware.bluetooth"`,
|
|
`name="android.hardware.bluetooth_le"`,
|
|
},
|
|
"camera": {
|
|
`name="android.hardware.camera"`,
|
|
},
|
|
}
|