Skip to content

[Android] DeviceInfo.OSVersion reports the full version instead of OS Major version #728

Open

Description

Describe your environment. Latest cpp_telemetry maesdk for Android, I don't believe the SystemInformationImpl_Android functionality has been touched in a while.

Steps to reproduce.

  1. Log any telemetry on Android

What is the expected behavior?
DeviceInfo.OSVersion should show the major version of the OS, e.g. "10", "8.1.0"
DeviceInfo.OSBuild should show the incremental version of the OS, e.g. "A520FXXSFCTG8", "G965USQS8ETH5"

What is the actual behavior?
DeviceInfo.OSVersion shows both the major and incremental version of the OS e.g. "10 N970FXXS6DTI5", "9 85b08"
DeviceInfo.OSBuild shows just the incremental version of the OS, e.g. "N970FXXS6DTI5", "85b08"

Additional context.
This is a difference from the Aria SDK, and this sends redundant data

Impact, once we pushed 1DS SDK to prod, all of our Aria cubes that relied on DeviceInfo.OSVersion broke due to increased dimensionality as there are a significant number of additional unique values for DeviceInfo.OSVersion now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions