Introducing React Native
How can I try this?
You need to be on a Mac with Xcode. My seven-year-old MacBook Pro was running Yosemite 10.10.3 beta with Xcode 6.2. You’ll need to install
watchman for react-native. You’ll want to use Homebrew. The tutorial mentions this. I used the tutorial and its zipfile to get started, but that was even before I had checked the docs, which also cover this.
Some other gotchas I encountered:
- my react packager would encounter an error and need to be restarted every time I made a local git commit
- I was able to get geolocation to work in the simulator after closing Xcode and the iOS simulator and relaunching everything. It was throwing an error before this.
Where is a copy of the completed code?
I uploaded my code at @idcrook/propertyfinder-introduction-to-react-native on github.