Documentation
¶
Index ¶
Constants ¶
View Source
const (
Sleep = 16 * time.Second
)
Variables ¶
View Source
var DefaultCheckin = Checkin{Version: 3}
View Source
var DefaultConfig = Config{ DeviceConfiguration: DeviceConfiguration{ GlEsVersion: 0x0002_0000, SystemAvailableFeature: []string{ "android.hardware.camera", "android.hardware.location", "android.hardware.microphone", "android.hardware.screen.landscape", "android.hardware.screen.portrait", "android.hardware.touchscreen", "android.hardware.wifi", }, NativePlatform: []string{ "x86", }, GlExtension: []string{ "GL_OES_compressed_ETC1_RGB8_texture", }, }, }
Functions ¶
This section is empty.
Types ¶
type Auth ¶ added in v1.0.4
func (Auth) Upload ¶ added in v1.1.3
This seems to return `StatusOK`, even with invalid requests, and the response body only contains a token, that doesnt seem to indicate success or failure. Only way I know to check, it to try the `deviceID` with a `details` request or similar. Also, after the POST, you need to wait at least 16 seconds before the `deviceID` can be used.
type Checkin ¶ added in v1.0.6
type Checkin struct {
Checkin struct{} `json:"checkin"`
Version int `json:"version"`
}
type Config ¶ added in v1.2.1
type Config struct {
DeviceConfiguration DeviceConfiguration `json:"1"`
}
type Delivery ¶ added in v1.1.9
type Delivery struct {
Status int32 `json:"1"`
AppDeliveryData struct {
DownloadURL string `json:"3"`
SplitDeliveryData []SplitDeliveryData `json:"15"`
} `json:"2"`
}
type Details ¶ added in v1.0.1
type Details struct {
DocV2 struct {
Offer struct {
FormattedAmount FormattedAmount `json:"3"`
} `json:"8"`
Details struct {
AppDetails struct {
DeveloperName string `json:"1"`
VersionCode int32 `json:"3"`
Version string `json:"4"`
UploadDate string `json:"16"`
} `json:"1"`
} `json:"13"`
} `json:"4"`
}
type Device ¶ added in v1.0.6
type Device struct {
Android_ID int64
}
type DeviceConfiguration ¶ added in v1.2.1
type DeviceConfiguration struct {
// this can be 0, but it must be included:
TouchScreen int32 `json:"1"`
// this can be 0, but it must be included:
Keyboard int32 `json:"2"`
Navigation int32 `json:"3"`
// this can be 0, but it must be included:
ScreenLayout int32 `json:"4"`
// this can be false, but it must be included:
HasHardKeyboard bool `json:"5"`
HasFiveWayNavigation bool `json:"6"`
// this can be 0, but it must be included:
ScreenDensity int32 `json:"7"`
GlEsVersion int32 `json:"8"`
SystemAvailableFeature []string `json:"10"`
NativePlatform []string `json:"11"`
GlExtension []string `json:"15"`
}
type FormattedAmount ¶ added in v1.3.3
type FormattedAmount string
func (FormattedAmount) String ¶ added in v1.3.3
func (f FormattedAmount) String() string
type SplitDeliveryData ¶ added in v1.3.0
Directories
¶
| Path | Synopsis |
|---|---|
|
apktool
command
|
|
|
frida-script
command
|
|
|
googleplay
command
|
|
|
mitmproxy-cert
command
|
Click to show internal directories.
Click to hide internal directories.