Setting the back button title or hiding the back button title does not work
static options(props) {
return {
topBar: {
visible: true,
backButton: {
title: '',
},
},
};
}
@guyca Could you please look into this?
same issue In version 2.0.2577
Can somebody from the team look at this?
[email protected]
[email protected]
Platform: iOS
Device: Both iPhone X simulator and physical iPhone X
Dynamically updating the backButton title doesn't seem to work for me.
Navigation.mergeOptions(this.props.componentId, {
topBar: {
backButton: {
title: 'some dynamic title'
}
}
});
However, updating it statically does work fine in my case.
static options(passProps) {
return {
topBar: {
backButton: {
title: 'some static title'
}
}
};
}
Same on version 2.0.2637. It seems that it is an old issue.
Most helpful comment
[email protected]
[email protected]
Platform: iOS
Device: Both iPhone X simulator and physical iPhone X
Dynamically updating the backButton title doesn't seem to work for me.
However, updating it statically does work fine in my case.