zoontek / react-native-dev-menu

Add custom items to the React Native dev menu.
MIT License
204 stars 25 forks source link

native module cannot be null #3

Closed yeomann closed 6 years ago

yeomann commented 6 years ago

I had red screen saying that native module cannot be null

Solution

It seems that after installing and linking, POD file was indeed added but pod install must be executed after react-native linkas pod install. As pod finished, I deleting app completely from emulator and re-run the react-native run-ios it started to working!

zoontek commented 6 years ago

If you have de Podfile, react native link will only add this in it. You have to run pod install after, it's normal.

I added some doc: https://github.com/zoontek/react-native-dev-menu/commit/5b1af99a5d187e05220146fb66ea8d7b651da13f

yeomann commented 6 years ago

great:)