custom Tobar->title (image component) not being shown on IOS but works on Android
const Logo = ({ style }: any) => (
<Image
style={[styles.image, style]}
resizeMode="contain"
source={Theme.images.SplashLogo}
/>
);
const styles = StyleSheet.create({
image: {
flex: 1,
alignSelf: "center"
}
});
export default Logo;
then register it :
Navigation.registerComponent("Logo", () => Logo);
after that setDefaultOptions :
Navigation.setDefaultOptions({
topBar: {
visible: true,
animate: true,
drawBehind: false,
title: {
component: {
name: "Logo",
alignment: "center"
}
}
}
});
Fixed here: aa4326d
@yogevbd
it's not being fixed , the issue still exist!
@yogevbd/@guyca
I'm having the same issue. Is it resolved permanently or not?
I'm using "react-native-navigation": "^2.18.4",
Could you please let me know how would we achieve this?
Still not solved. I think #5716 is related.
@guyca any solution?
Most helpful comment
@yogevbd/@guyca
I'm having the same issue. Is it resolved permanently or not?
I'm using "react-native-navigation": "^2.18.4",
Could you please let me know how would we achieve this?