System Requirements
Before installing NearYou, ensure your system meets these requirements:Operating System
Operating System
- macOS (for iOS development)
- Windows 10/11 (for Android development)
- Linux (for Android and web development)
Development Tools
Development Tools
- Node.js: Version 16 or higher
- npm: Version 7+ (comes with Node.js)
- Git: For version control
- Expo CLI: Installed automatically with the project
Installation Steps
Install dependencies
Install all project dependencies:This installs the following key packages:
- Core
- UI & Animation
- Utilities
- expo (~54.0.20) - The Expo SDK
- react (19.1.0) - React library
- react-native (0.81.5) - React Native framework
Project Structure
NearYou follows the Expo Router file-based routing structure:Configuration
App Configuration (app.json)
Theapp.json file contains core app settings:
app.json
The display name of your app
URL-friendly name used in Expo Go and updates
Deep linking URL scheme (e.g.,
nearyou://)Enables React Native’s new architecture for improved performance
Platform-Specific Settings
- iOS
- Android
- Web
app.json
Expo Plugins
NearYou uses the following Expo plugins:Experimental Features
NearYou enables cutting-edge React and Expo features:app.json
- typedRoutes: Provides TypeScript types for your routes
- reactCompiler: Enables the new React Compiler for automatic optimization
TypeScript Configuration
The project uses TypeScript with path aliases configured intsconfig.json:
Example import
@/ alias points to the src/ directory for cleaner imports.
Development Server
Start the development server with:The development server provides hot reloading, allowing you to see changes instantly without restarting the app.
Available Options
When the dev server is running, you can use these keyboard shortcuts:| Key | Action |
|---|---|
a | Open on Android |
i | Open on iOS simulator |
w | Open in web browser |
r | Reload app |
m | Toggle menu |
j | Open debugger |
Environment Setup
iOS Development
Android Development
Install Android Studio
Download and install Android Studio.
Configure Android SDK
Open Android Studio, go to Settings > Android SDK, and install:
- Android SDK Platform
- Android SDK Build-Tools
- Android Emulator
Troubleshooting
Metro bundler won't start
Metro bundler won't start
Try clearing the cache:
Dependencies not installing
Dependencies not installing
Delete
node_modules and lockfile, then reinstall:iOS simulator not opening
iOS simulator not opening
Ensure Xcode Command Line Tools are set correctly:
Android emulator not detected
Android emulator not detected
Verify Android SDK environment variables are set and emulator is running:
Next Steps
Start developing
Learn about the codebase structure and start building features
Customize theming
Configure colors, fonts, and UI components
Add navigation
Create new screens and navigation flows
Deploy your app
Build and publish to iOS and Android