Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

rn-host-detect: TypeError: arguments[0].indexOf is not a function #165

@airandfingers

Description

@airandfingers

Hi, after adding your library, I observed the error described in and fixed by jhen0409/rn-host-detect#8:

TypeError: arguments[0].indexOf is not a function. (In 'arguments[0].indexOf('Requiring module 'NativeModules' by name')', 'arguments[0].indexOf' is undefined)

I found a workaround (enabling "Debug JS Remotely" to avoid using rn-host-detect's console.warn polyfill, but as long as that polyfill is broken, reactotron should not depend on rn-host-detect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions