Skip to content

Not working with React Native 0.27 on iOS #3

@leonfs

Description

@leonfs

Hi,

The library is not working with the latest react native version.

The following error shows up:

Object prototype may only be an Object or null

I did some debugging, and I have found that the error is actually triggered when the library loads the "crypto" library and when the crypto library loads the "stream" library.

I'm submitting the issue here as you might know what could be wrong.

The steps I followed to reproduce the error were:

  1. Create a new test project with react-native init (0.27)
  2. Installed this library following the instructions.
  3. Requiring the library - require('react-native-jwt') - on index.ios.js file.

Thanks,
Leo

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