Skip to content

Switch state doesn't work #15

@kapilpau

Description

@kapilpau

On both Android and iOS, when trying to switch state, I get:
TypeError: undefined is not an object (evaluating 'u.switchState')

I get the error if I try to import TorchWithPermissionCheck or Torch from 'react-native-torch' and then run Torch.switchState(true)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions