note: xcode version 9.4 is highly recommended. there may be fatal bugs if using xcode 10.
install xcode.
install nodejs.
install watchman.
install react-native-cli.
notes:
for node and watchman-- on a mac with homebrew installed, you can simply run:
brew install node
brew install watchman
git clone https://github.com/medeanfinance/rn-fastlink-demo
cd rn-fastlink-demo
yarn setup
this should launch a simulator automatically.
note:
before submitting the fastlink inputs form, please press ctrl D
(or cmd D
on a mac) and make sure you are debugging JS remotely, as this is the only way you can view the output logs.
the code for the form fields screen can be found in demoApp/FastlinkLaunch.js
.
the code for the web view that displays fastlink can be found in demoApp/Webview.js
.