Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

Module RCTEventEmitter is not a registered callable module

$
0
0

This problem has already been addressed, but in my case it seems to be of a different type.

App.js Code:

import React, {Component} from 'react';
import { AppRegistry,StyleSheet, Text, View} from 'react-native';


export default class MainApp extends React.Component{

  static navigationOptions = () => ({
    title: "Home",
    headerTintColor:"white",

  })

  render(){
    return(
      <View>
        <Text>Hello World !</Text>
      </View>
    )
  }
}

I have import react native elements and react navigation as libraries using yarn.


Viewing all articles
Browse latest Browse all 16552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>