React Navigation back() and goBack() not working

The key property for goBack() is a dynamically created string, created by react-navigation whenever it navigates to a new route. for example:  It is stored in this.props.navigation.state.key. So if you want to go from EditPage to Cover, what you have to do is to pass the key of EditCover down to EditPage, and then call goBack() with the key. Why not key of Cover but EditCover? Because react-navigation only provides the method goBack(key), it’s go … Read more

error code: 523