Skip to content

document is not defined on React Native #24

@danieljgp2

Description

@danieljgp2

Hello im currently working on a React Native application and i'm getting this error.

Captura de pantalla 2019-03-23 a la(s) 23 12 59

I already try

import ActionCable from 'actioncable';
const cable = ActionCable.createConsumer('ws://test.example.com/cable');
<ActionCableProvider cable={cable}>...</ActionCableProvider>;

like the documentation says https://github.com/cpunion/react-native-actioncable#use-with-react-actioncable-provider but i still getting the same error.

I'm currently using react-native-actioncable but likes the documentation says, is now unmaintained

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