timomeh / react-native-material-bottom-navigation

💅🔧👌 a beautiful, customizable and easy-to-use material design bottom navigation for react-native
MIT License
711 stars 127 forks source link

White blank screen shows for a while in Android (react-navigation) #100

Closed kurushibu00 closed 6 years ago

kurushibu00 commented 6 years ago

What kind of Issue is this?

Bug Report

Actual behavior

Blank screen shows for a while in Android. I have integrated the library with React-Navigation (V1) and provided tabBarComponent: NavigationComponent,. When user Login in the app, he/she redirect to Tab Navigator. After loading TabNavigator, initial screen takes 2-3 seconds to load. Meanwhile it just show white screen to user. This is just happening for once.

Only for Android, iOS working fine

This is only happening when I set false to animationEnabled.

Expected behavior

same work as iOS

Environment

software version
react-native-material-bottom-navigation 0.9.0
react-native or expo 0.51.1
node v8.11.3
npm or yarn 5.6.0
timomeh commented 6 years ago

Hi! Your issue is related to an older version of the Bottom Navigation (0.9.0). The new version 1.0.0 is a complete overhaul of the Bottom Navigation.

Unfortunately I have to tell you that I don't provide out-of-the-box support for react-navigation anymore, and NavigationComponent was removed in v1.0.0. You can read more about the decision here: https://github.com/timomeh/react-native-material-bottom-navigation#react-navigation-support

This section in the Readme also provides some information on how to use the new version of the Bottom Navigation with react-navigation. You can also find more informations in #98.

However, I have some additional informations which maybe can help you:

I hope I could help you.

Note: I'm going to close this issue because it's related to an old feature which is not supported anymore. I'm also adding "react-navigation" to the title so it's easier to find for other people, which may be searching for this issue.