App for displaying data from our HVAC smart solution. -- CAPSTONE CREATE-X
helpful project tutorial/resource: https://expo.dev/blog/how-to-build-a-bluetooth-low-energy-powered-expo-app
CALVINS TUTORIAL to get app running on yalls laptop/phone: This is the BLE github:https://github.com/dotintent/react-native-ble-plx/blob/master/README.md Using this is why we need a Dev build
- npm install
- Install bluetooth package | npm (or npx?) install react-native-ble-plx | more info on the gitub linked above
- Switch to development build | npx expo install expo-dev-client (I ran this at some point in troubleshooting connection, but I dont use an eas build so I would wait to use this unless errors come up (npm install -g eas-cli))
- To see if this runs without a physical device, try npx expo run:ios
- To run on physical device, start with npx expo prebuild | follow this tutorial https://www.youtube.com/watch?v=s0gdh418OCQ
-
Node.js & npm:
Download and install from nodejs.org. npm comes bundled with Node.js. -
Visual Studio Code:
Download and install VSCode from code.visualstudio.com. -
Expo Go:
For testing on physical devices, install the Expo Go app:
App for displaying data from our HVAC smart solution. -- CAPSTONE CREATE-X
-
Node.js & npm:
Download and install from nodejs.org. npm comes bundled with Node.js. -
Visual Studio Code:
Download and install VSCode from code.visualstudio.com. -
Expo Go:
For testing on physical devices, install the Expo Go app:
This is an Expo project created with create-expo-app.
-
Install dependencies
npm install
-
Start the app
npx expo start
In the output, you'll find options to open the app in a
- development build
- Android emulator
- iOS simulator
- Expo Go, a limited sandbox for trying out app development with Expo
You can start developing by editing the files inside the app directory. This project uses file-based routing.
When you're ready, run:
npm run reset-projectThis command will move the starter code to the app-example directory and create a blank app directory where you can start developing.
To learn more about developing your project with Expo, look at the following resources:
- Expo documentation: Learn fundamentals, or go into advanced topics with our guides.
- Learn Expo tutorial: Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web.
Join our community of developers creating universal apps.
-
Expo on GitHub: View our open source platform and contribute.
-
Discord community: Chat with Expo users and ask questions. =======
f431c993400378fa00c67e908092492dafeed1bc