Skip to content

Huawei HarmonyOS (not Android) support #652

Description

@LeoVasanko
Mozilla/5.0 (Phone; OpenHarmony 6.0; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36  ArkWeb/6.0.0.130 Mobile HuaweiBrowser/5.1.12.351

For this we get:

UserAgent(family='Huawei Browser', major='5', minor='1', patch='12', patch_minor=None)
OS(family='Android', major='10', minor=None, patch=None, patch_minor=None)
Device(family='Huawei Browser', brand='Huawei', model='Browser')

If we see OpenHarmony (especially >= 5.0) we need to ignore the Android put there for compatibility. Proper OS is HarmonyOS 6.0, not Android 10. The Device record also is somewhat dubious saying Browser in family and model. Actual model Pura 80, but looks like Huawei doesn't tell you that. The browser name is Huawei Browser though.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions