I followed the example in https://facebook.github.io/react-native/docs/integration-with-existing-apps. Everything is fine until section The Magic: RCTRootView.
1. I created a "High Score" button from Xcode.
2. I linked the button to an action with the name (IBAction)highScoreButtonPressed:(id)sender
3. Ran "npm start"
4. Ran npx react-native run-ios --simulator="iPhone 8 Plus"
5. Clicked the "High Score" button"
6. Got an error 'PlatformConstants' could not be found in the Simulator.
What is my problem here and how to solve it?
↧
React Native: The Magic: RCTRootView
↧