IOS topbar is not rendering text at all while Android's topbar title is. The phone on the right is the Iphone 8 SImulator while the phone on the left is the Google Pixel 2.

import { Navigation } from "react-native-navigation";
import AuthScreen from './src/screens/Auth';
Navigation.registerComponent('AuthScreen', () => AuthScreen);
Navigation.events().registerAppLaunchedListener(() => {
Navigation.setRoot({
root: {
stack: {
children: [{
component: {
name: 'AuthScreen',
}
}],
options: {
topBar: {
title: {
text: 'Login'
}
}
}
}
}
});
});
"react-native": "0.58.5",
Hello. Please try to replace topBar options from stack to component. I thinks it should be something like this:
Navigation.events().registerAppLaunchedListener(() => {
Navigation.setRoot({
root: {
stack: {
children: [{
component: {
name: 'AuthScreen',
options: {
topBar: {
title: {
text: 'Login'
}
}
}
}
}]
}
}
});
});
This solved my problem, this should be noted in the docs if it hasn't already.
Most helpful comment
Hello. Please try to replace topBar options from
stacktocomponent. I thinks it should be something like this: