Skip to content

Use constants instead of hardcoded android and ios strings #4388

Open
@DimitarTachev

Description

@DimitarTachev

Is your feature request related to a problem? Please describe.
We have "android", "Android", "ANDROID" and "ios", "iOS", "IOS" hardcoded in many places in the CLI. In most of the places, we are also using platform.toLower() in order to workaround this.

Describe the solution you'd like
We should just use the same constants everywhere (e.g. DevicePlatformsConstants)

Metadata

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