mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +00:00
e690c14ddc
The Fairphone 2 only supports OpenGL ES 2.0, but otherwise seems capable of running Gio. By lowering the minimum requirement, Gio apps will be available in the Play Store for Fairphone 2 devices. Signed-off-by: Elias Naur <mail@eliasnaur.com>
31 lines
688 B
Go
31 lines
688 B
Go
package main
|
|
|
|
var AndroidPermissions = map[string][]string{
|
|
"network": {
|
|
"android.permission.INTERNET",
|
|
},
|
|
"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"`,
|
|
},
|
|
}
|