Device details that need to be sent to their API when creating an account

interface DeviceDetails {
    additionalProperties: {
        isVirtual: boolean;
        manufacturer: string;
        model: string;
        name: string;
        osVersion: string;
        platform: string;
        webViewVersion: string;
    };
    deviceId: string;
    os: string;
    pushToken: string;
}

Properties

additionalProperties: {
    isVirtual: boolean;
    manufacturer: string;
    model: string;
    name: string;
    osVersion: string;
    platform: string;
    webViewVersion: string;
}

Additional properties necessary to be sent to the API about the device

Type declaration

  • isVirtual: boolean

    Is this a virtual device?

  • manufacturer: string

    The manufacturer of the device

    Example

    'Google'
    
  • model: string

    The model of the device

  • name: string

    TODO: Figure out this

  • osVersion: string

    The operating system version of the device

    Example

    '13'
    
  • platform: string

    The platform of the device

    Example

    'android'
    
  • webViewVersion: string

    The version of webview on the device

    Example

    '103.0.5060.71'
    
deviceId: string

4 random bytes

os: string

The OS of the phone:

Example

'android'
pushToken: string

We don't really use this, so we can just fill with 80 random bytes

Generated using TypeDoc