Currently Visual Studio Team Services (VSTS) has support for Pull Requests on desktop view only. Sometime, we just want to take a sneak peek on a pull request on a mobile device. GitHub has a good support for that, but VSTS is lacking this functionality. This project aims to add this feature to VSTS by creating a react native mobile app that will use the existing VSTS's APIs to show pull requests on mobile devices.
- Install node/watchman: https://facebook.github.io/react-native/docs/getting-started.html#node-watchman
- Install react native cli: https://facebook.github.io/react-native/docs/getting-started.html#the-react-native-cli
- Install XCode: https://facebook.github.io/react-native/docs/getting-started.html#xcode
- Install typescript: https://github.com/cyounes/Oldcyounes.ruhoh.com/blob/master/posts/how-to-install-typescript-on-mac-os-x.md
After cloning the repo, and inside the project folder run:
npm install
gulp build
react-native run-ios
Required VSCode extension:
React Native Tools
After cloning the repo, and inside the project folder run:
npm install
- Choose the
Debug iOS
option in VSCode and Run it.
#running tests
npm install
npm test
ornpm run testwatch
Note: Currently there is no support for vscode debugging.
On the simulator, while the iOS app is running, click Command+D
and choose Enable Live Reload
.
Now every time, you save a js
file, it will automatically update the release.
To enable it to work with typescript files run:
gulp watch