The error seems to be coming from RNScreens.
Steps to reproduce:
- Create a react native project with v0.60.6
- Add react-navigation v4
- Add dependencies by following tutorial.
- Add AppContainer and StackNavigator.
- Build project in IOS.
Example minimal repo: https://github.com/joshua-augustinus/react-navigation-training