React-native-navigation: bottomTab selectedTextColor does not work properly on android.

Created on 26 Dec 2020  ·  3Comments  ·  Source: wix/react-native-navigation

🐛 Bug Report

I'm trying to use selectedTextColor with my tabs, however it seems that it does not work on android for some reason.

To Reproduce

  • make a simple BottomTabs navigator with selectedTextColor.
  • works on IOS great, & does not work on android.

Expected behavior

it should work on both platforms

Actual Behavior

only works on ios.

Dec-26-2020 07-14-56

Your Environment

  • React Native Navigation version: ^7.6.0
  • React Native version: 0.63.4
  • Platform(s) (iOS, Android, or both?): Android 9
  • Device info (Simulator/Device? OS version? Debug/Release?): Debug

please let me know if a repro is necessary here, I can provide on if needed.

needs triage bug

All 3 comments

after some investigation, it does work with Navigation.setDefaultOptions, so I guess that's probably enough.

@a-eid But does it work via static options or mergeOptions?

@danilobuerger hey, it does work with Navigation.setDefaultOptions, it didn't work when defining the colors on the individual bottomTab when defining the stack.

but it seem to be working now for some reason, I was in the testing phase sorry ( usually I include all the details needed .), I'll reopen with all the needed details if I face this again.

Was this page helpful?
0 / 5 - 0 ratings