Documentation ¶
Index ¶
Constants ¶
View Source
const (
Sleep = 16 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶ added in v1.0.4
func (Auth) DeliveryResponse ¶ added in v1.3.8
func (Auth) DetailsResponse ¶ added in v1.3.8
func (a Auth) DetailsResponse(dev *Device, app string) (*DetailsResponse, error)
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 Config ¶ added in v1.2.1
type Config struct { // this can be 0, but it must be included: TouchScreen uint64 // this can be 0, but it must be included: Keyboard uint64 Navigation uint64 // this can be 0, but it must be included: ScreenLayout uint64 // this can be 0, but it must be included: HasHardKeyboard uint64 HasFiveWayNavigation uint64 // this can be 0, but it must be included: ScreenDensity uint64 GLESversion uint64 SystemAvailableFeature []string NativePlatform []string GLextension []string }
type DeliveryResponse ¶ added in v1.3.8
type DeliveryResponse struct { AppDeliveryData struct { DownloadURL string } }
type DetailsResponse ¶ added in v1.3.8
type DetailsResponse struct { DocV2 struct { Details struct { AppDetails struct { VersionCode uint64 } } } }
type Device ¶ added in v1.0.6
type Device struct {
Android_ID int64
}
Click to show internal directories.
Click to hide internal directories.