Skip to content

Native module cannot be null. #349

Open
@ramuachala

Description

@ramuachala

Hi, I can not run my app on ios simulator using react-native-firestack. Here are the steps I followed.

  1. Created a project with create-react-native-app
  2. Installed react-native-firestack with npm i react-native-firestack
  3. ejected the project by running npm run eject
  4. linked to react-native-firestack by running react-native link react-native-firestack
  5. cd appname && pod update

After completing all the steps I run my project with react-native run-ios
It started and I got the my initial page. After this step I have imported the module using 'import firestack from 'react-native-firestack'

Now If I run the project I am getting error Native module cannot be null

Dependencies from package.json:
firebase: "^4,6.1"
react: "16.0.0"
react-native: "^0.49.5"
react-native-firestack:"^2.3.9"

Simulator
iphone 7 - iOS 10.0 (14A345)

My Podfiel file
2017-11-03 16_58_54-192 168 25 134 - remote desktop connection

My simulator screen
2017-11-03 16_59_19-192 168 25 134 - remote desktop connection

Am I missing anything. I followed the documentation exactly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions