skip to Main Content

React native – How to set different indicator colors for active and inactive tabs in Material Top Tabs Navigator 6.x of react-navigation/native?

I'm using Material Top Tabs Navigator from React Navigation. Here's an example: import { createMaterialTopTabNavigator } from '@react-navigation/material-top-tabs'; const Tab = createMaterialTopTabNavigator(); function MyTabs() { return ( <Tab.Navigator> <Tab.Screen name="Chat" component={ChatScreen} /> <Tab.Screen name="Contacts" component={ContactsScreen} /> <Tab.Screen name="Albums" component={AlbumsScreen} />…

VIEW QUESTION

React native – ERROR Error: Exception in HostObject::get for prop 'RNSModule': java.lang.UnsatisfiedLinkError:

ERROR Error: Exception in HostObject::get for prop 'RNSModule': java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.mobileshopsten-IcVyHbRbrXxvgT_ZScpMUg==/base.apk"],nativeLibraryDirectories=[/data/app/com.mobileshopsten-IcVyHbRbrXxvgT_ZScpMUg==/lib/arm64, /data/app/com.mobileshopsten-IcVyHbRbrXxvgT_ZScpMUg==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "librnscreens.so", js engine: hermes LOG Running "MobileShopsTen" with {"rootTag":241} ERROR Invariant Violation: "MobileShopsTen" has not been registered. This can happen if: Metro (the…

VIEW QUESTION
Back To Top
Search