Assuming you already have react-native and elm setup. From the command line run in the examples directory (not this directory!):
$ react-native init Counter --version 0.44.3
When asked if you want to overwrite index.ios.js and index.android.js
- decline with "n"
Using git revert the changes react-native made to the package.json file and run:
$ cd Counter
$ npm run compile
finally:
$ react-native run-ios