Skip to content

mboraski/HastyMobile

Repository files navigation

HastyMobile - User Mobile App

==============================

Getting Started

==============================

Installation:

git clone https://github.com/SpartanSOS/HastyMobile.git

npm i

Running tests:

npm run test // Runs Jest

Development:

npm i -g expo // Installs exponent cli globally.

expo start --localhost

expo start --localhost --dev // For dev mode and additional logging

expo start --lan // For lan developing and use with phone

Use mobile phone with expo or, in a separate terminal tab/window, run...

expo ios // For ios

expo android --offline // For android offline

Debugging:

// react-native-debugger
$ brew update && brew cask install react-native-debugger

// for more...
https://github.com/jhen0409/react-native-debugger/blob/master/docs/getting-started.md
or other methods...
https://medium.com/reactnativeacademy/debugging-react-native-applications-6bff3f28c375

// Startup app using lan, allow remote debugging, open app in simulator
// run RND on expo port
$ unset ELECTRON_RUN_AS_NODE && open -g 'rndebugger://set-debugger-loc?port=19001'

// Sentry error logging can be found here:
https://sentry.io/hasty/hasty-mobile/

Performance:

https://reactjs.org/docs/optimizing-performance.html#profiling-components-with-the-chrome-performance-tab

Release:

expo build:ios // For build standalone app

expo publish // To publish to exp.host

Avoid Tunnel use if possible. Always use securely as tunnel and lan are running on network

Owners

==============================

Contributing

==============================

  1. Update local master to remote master git pull --rebase origin master!

  2. Create your feature branch: git checkout -b HAMO-8 (jira ticket number)

  3. Commit your changes: git commit -m 'Add some feature'

  4. Push to the branch: git push origin HAMO-8

  5. Move JIRA ticket to ready for review and add link to PR in jira ticket description.

  6. Submit a pull request, the name of the branch should be the JIRA ticket. E.g. HAMO-4.

  7. Ticket will be reviewed and reviewer will assign ticket to him/herself.

  8. When review completed, the ticket will be assigned to the developer to address comments or merge PR and move ticket to done column in jira.

About

Hasty Consumer Mobile App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •