Friday, April 14, 2017

React Native component not visible when rendered inside Navigator


The React Native Component was rendered correctly, but after introducing a navigator, it became invisible.

The solution is to apply a style with "flex:1" to the navigator;

                        style={{flex: 1}}
            initialRoute={ { name: 'UserProfile' } }
            renderScene={ this.renderScene.bind(this) }
             />

No comments:

Appboy/appboy-fb-messenger-bot

Building a Messenger bot for Appboy About Messenger bots Introduction On April 12, 2016, Facebook launched its Messenger Platform, intende...