0

After adding the podfile and installing Firebase I get this errors:

addNetworkingHandler on target BlobMdule with params()

requiring module "node_modules/react-native/libraries/network/netinfo.js"

which threw an exception:

invariant violation: Native module cannot be null.

I have tried everything but no luck. If you know about these errors please help! Screenshots:

https://i.stack.imgur.com/8MhG5.png

enter image description here

Kubwimana Adrien
  • 2,463
  • 2
  • 8
  • 11

1 Answers1

0

try adding this to your podfile:

`pod "yoga", :path => "../node_modules/react-native/ReactCommon/yoga"
  pod 'React', :path => '../node_modules/react-native', :subspecs => [
  'RCTText',
  'RCTImage',
  'RCTNetwork',
  'RCTWebSocket'
]`
Aayush Anand
  • 254
  • 2
  • 10