github.com/cybriq/giocore@v0.0.7-0.20210703034601-cfb9cb5f3900/cmd/gogio/permission.go (about)

     1  package main
     2  
     3  var AndroidPermissions = map[string][]string{
     4  	"network": {
     5  		"android.permission.INTERNET",
     6  	},
     7  	"networkstate": {
     8  		"android.permission.ACCESS_NETWORK_STATE",
     9  	},
    10  	"bluetooth": {
    11  		"android.permission.BLUETOOTH",
    12  		"android.permission.BLUETOOTH_ADMIN",
    13  		"android.permission.ACCESS_FINE_LOCATION",
    14  	},
    15  	"camera": {
    16  		"android.permission.CAMERA",
    17  	},
    18  	"storage": {
    19  		"android.permission.READ_EXTERNAL_STORAGE",
    20  		"android.permission.WRITE_EXTERNAL_STORAGE",
    21  	},
    22  }
    23  
    24  var AndroidFeatures = map[string][]string{
    25  	"default": {`glEsVersion="0x00020000"`, `name="android.hardware.type.pc"`},
    26  	"bluetooth": {
    27  		`name="android.hardware.bluetooth"`,
    28  		`name="android.hardware.bluetooth_le"`,
    29  	},
    30  	"camera": {
    31  		`name="android.hardware.camera"`,
    32  	},
    33  }