This is an Expo project created with create-expo-app.
This app includes an AQI (Air Quality Index) zone tracker that monitors your location and alerts you when you move 20 meters from your current position, indicating you may be entering a different air quality zone.
- Real-time location tracking: Continuously monitors your GPS position
- Distance calculation: Uses Haversine formula for accurate distance measurement
- Smart notifications: Sends alerts when you move 20 meters from starting position
- AQI zone awareness: Helps users stay informed about air quality changes
- Cross-platform: Works on both iOS and Android devices
- Permission handling: Automatically requests necessary location and notification permissions
To use the AQI zone tracker:
- Navigate to the Home or Explore tab
- Tap "Start Tracking" to begin location monitoring
- Move 20 meters from your starting position to trigger an AQI zone alert
- Tap "Stop Tracking" to disable location monitoring
-
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.