Mobile app to interact with Meet At The Show.
The app is built on top of React Native
. Redux
is used for state management of the app. Code Push
is used for deployment. Unit Tests are configured to use Jest
.
Install node, ideviceinstaller, and watchman:
$ brew update
$ brew install node
$ brew install ideviceinstaller
$ brew install watchman
Install React Native CLI:
npm install -g react-native-cli
Install Code Push
npm install -g code-push-cli
Register using your GitHub account:
code-push Register
Register App with CodePush:
code-push app add <appName>
Install Plugin:
react-native link react-native-code-push
Add an entry to the Info.plist
called CodePushDeploymentKey
containing the deployment key given by CodePush.
After making changes to code, release an app update:
code-push release-react <appName> ios
- Install Editor Config for VSCode extention for VS Code.
- Install the React Native Tools extension for VS Code.
- Click on the Debug Icon and select React Native as the Debug Environment.
- If wanted, use the following launch.json in your .vscode folder to setup iPad Air and Device Debugging:
- The Debug iOS Simulator target can be changed to other devices or new configuration objects created for them if needed
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Android",
"program": "${workspaceRoot}/.vscode/launchReactNative.js",
"type": "reactnative",
"request": "launch",
"platform": "android",
"internalDebuggerPort": 9090,
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react"
}, {
"name": "Debug iOS Simulator",
"program": "${workspaceRoot}/.vscode/launchReactNative.js",
"type": "reactnative",
"request": "launch",
"platform": "ios",
"target": "iPad Air",
"internalDebuggerPort": 9090,
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react"
}, {
"name": "Debug iOS Device",
"program": "${workspaceRoot}/.vscode/launchReactNative.js",
"type": "reactnative",
"request": "launch",
"platform": "ios",
"target": "device",
"internalDebuggerPort": 9090,
"sourceMaps": true,
"outDir": "${workspaceRoot}/.vscode/.react"
}
]
}