feathersjs-ecosystem/feathers-react-native-chat

compilation fail

Closed this issue · 2 comments

Here is the error I get when trying to compile feathers-react-native-chat for android:

Objects are not valid as a React child (found: object with keys {visible}). If you meant to render a collection of children, use an array instead or wrap the object using createFragment(object) from the React add-ons. Check the render method of View.

Hi, I have exactly
screen shot 2017-05-05 at 19 38 03
the same error - problem is in Application.js and related with related with

     {this.store.isAuthenticated ? <MainNavigator screenProps={{store: this.store}}/> :
      <UnauthenticatedNavigator screenProps={{store: this.store}}/>}

StackNavigator Objects MainNavigator and UnauthenticatedNavigator are placed in render () function. If we place modules without StackNavigator - then works - I suppose that StackNavigator is used in wrong way

It looks like they made some breaking changes to react-navigation which is whats causing these errors. I'll have to fix