Skip to content

Cannot read property 'split' of undefined #5

@RyanMitchellWilson

Description

@RyanMitchellWilson

I just followed all the instructions and everything seemed to work right but as soon as I imported jwt I started getting the error Cannot read property 'split' of undefined
I've tried using multiple ways to import but none of them appear to be working:
import jwt from 'react-native-jwt'
import { jwt } from 'react-native-jwt'
const jwt = require('react-native-jwt')

Using React-Native 0.41.0

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