Thanks to visit codestin.com
Credit goes to github.com

Skip to content

There is no Utility to determine whether current execution is on a simulator or emulator #9064

Open
@alexziskind1

Description

@alexziskind1

Is your feature request related to a problem? Please describe.
The current function isRealDevice does not work properly on Android, and returns data on iOS instead of a boolean.
There are other relying functions that call isRealDevice.

Describe the solution you'd like
Instead of introducing a breaking change, create a new isSimulatorOrEmulator function that actually returns a boolean.

Describe alternatives you've considered
Changing the isRealDevice function. This would cause breaking changes.

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