React-native-router-flux: Native module cannot be null

Created on 30 Dec 2016  路  7Comments  路  Source: aksonov/react-native-router-flux

Version

Tell us which versions you are using:

  • react-native-router-flux v3.37.0
  • react-native v0.39.2

Expected behaviour

no error

Actual behaviour

Native module cannot be null

NativigationRootContainer.js 15

Steps to reproduce

  1. import {Scene, Router} from 'react-native-router-flux';
  2. no step2
    3.

simulator screen shot 2016 12 30 10 57 27

Most helpful comment

solution:
You need to add RCTLinkingIOS in your pod file, which the documentation didn't mention.

All 7 comments

solution:
You need to add RCTLinkingIOS in your pod file, which the documentation didn't mention.

@aiyidu Thank you for the solution.

It works! I am going to close this issue.

I actually added the RCTLinkingIOS to my pod file but I'm still getting the same error. Nothing changed.

Same error here trying to run the Example. :/

Get the code

git clone https://github.com/aksonov/react-native-router-flux.git
cd react-native-router-flux/Example

Install dependencies

yarn

Run it

react-native run-ios

RNRF doesn't use any native modules, check stack trace.

ok. Thank you. The problem was I had another RN project running on background.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rafaelcorreiapoli picture rafaelcorreiapoli  路  3Comments

YouYII picture YouYII  路  3Comments

basdvries picture basdvries  路  3Comments

sreejithr picture sreejithr  路  3Comments

sarovin picture sarovin  路  3Comments