FAQ - bluecolab/BlueColab_MobileDataViz GitHub Wiki
FAQ
Why is ... not working?
Please make sure you terminal is always in the aquawatch_mobile_app
directory before running npm install
or npx expo start
etc..
I'm running in the correct directory. The app is taking a long time to load...?
Make sure your phone and computer are connecting to the same network. If that doesn't work try doing npx expo start --tunnel
(you may need to try a few times).
Hmm that still didn't work?
Yup that happens sometimes. Try doing npm expo start -c
. This clears the cache. If you're getting weird TypeScript errors: press Ctrl+Shift+P (for Windows/Linux) or Cmd+Shift+P (macOS). Then search for the type "TypeScript: Restart TS Server", and press it. This will restart TS checker.
Where do I learn more about...
TypeScript?
See: https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html
React/React Native?
See: https://reactnative.dev/docs/getting-started
Expo?
See: https://docs.expo.dev/ and https://docs.expo.dev/guides/overview/ about EAS https://docs.expo.dev/eas/ and even more https://docs.expo.dev/versions/latest/
Tailwind?
See: https://tailwindcss.com/docs/styling-with-utility-classes
About XYZ?
See: https://www.google.com/ 😊
What API's are we using?
- Blue CoLab API - we really need one..
- USGS/HRECOS
- OpenWeatherMap
Do the checks matter? Do approvals need to happen?
Yes, the checks and approval help with code quality. But there are no rules in place to stop you from merging without reviews or with issues.
There are only three rules that GitHub will prevent you from doing:
- Pushing directly to the
main
branch - please create a PR first. - Merging the
app-build-branch
into main. - No rebase merging is allowed - please squash or merge commit. When you rebase you lose which PR commits came from so is hence not used for our repo.