react-native v0.44.0 (also tested v0.46)
Samsung S7
Title in navigation bar to be centered in both iOS and Android
Title in navigaton bar is not centered in Android (but is centered in iOS).
Android (wrong):

iOS (correct):

You can use the Example app:
# Get the code
git clone [email protected]:aksonov/react-native-router-flux.git
cd react-native-router-flux/Example
# Install dependencies
yarn
# Run it
react-native run-android
I have tried to center the title by adding centering-styles to titleStyle- and headerStyle-props, but with no result. The best I can do is adding Android-specific left-padding/margin to titleStyle to make it centered, but that is difficult with different titles and different screen sizes.
Ah, thanks!
<Scene
...
titleStyle={{alignSelf: 'center'}}
/>
... solved the issue.
I created a PR #2172 with the example updated with this prop, if that is wanted in the example.
For me it worked with
<Scene
...
titleStyle={{ textAlign: 'center', flex: 1 }}
/>
Most helpful comment
Ah, thanks!
... solved the issue.