Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native module cannot be null. #349

Open
ramuachala opened this issue Nov 3, 2017 · 1 comment
Open

Native module cannot be null. #349

ramuachala opened this issue Nov 3, 2017 · 1 comment

Comments

@ramuachala
Copy link

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.

@Ehesp
Copy link
Contributor

Ehesp commented Nov 9, 2017

This lib is way out of date, see https://github.com/invertase/react-native-firebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants