Overview
NearYou uses Expo’s configuration system to manage app settings across iOS, Android, and Web platforms. All core configuration is defined inapp.json at the root of your project.
App Configuration
Basic Settings
The main app configuration is defined inapp.json:
app.json
The
scheme field enables deep linking with the URL scheme nearyou://Key Configuration Options
name
name
The display name of your app. This appears on the home screen and in app stores.Current value:
nearyouslug
slug
A URL-friendly identifier for your app. Used in Expo’s services and URLs.Current value:
nearyouversion
version
The app version following semantic versioning (major.minor.patch).Current value:
1.0.0orientation
orientation
Locks the app to a specific orientation.Options:
portrait, landscape, defaultCurrent value: portraituserInterfaceStyle
userInterfaceStyle
Controls dark mode support.Options:
light, dark, automaticCurrent value: automatic (respects system settings)Platform-Specific Configuration
iOS Configuration
app.json
iPad Support
The app is configured to run on both iPhone and iPad devices with
supportsTablet: true.Additional Options
You can add
bundleIdentifier, buildNumber, and other iOS-specific settings here.Android Configuration
app.json
Adaptive Icon
Android adaptive icons consist of three layers:The app uses a light blue background color (
#E6F4FE) that matches the app’s branding.Modern Android Features
- Edge-to-Edge UI: Enabled with
edgeToEdgeEnabled: truefor immersive full-screen experience - Predictive Back: Disabled (
predictiveBackGestureEnabled: false) for traditional navigation behavior
Web Configuration
app.json
The
"output": "static" setting generates a static website that can be hosted on any static hosting service like Netlify, Vercel, or GitHub Pages.Asset Configuration
NearYou uses several asset files referenced in the configuration:Icon Requirements
App Icon
Size: 1024×1024pxFormat: PNGTransparency: Supported
Adaptive Icon
Size: 1024×1024pxSafe zone: 108×108dp centerFormat: PNG
Plugins
Expo plugins extend native functionality through config plugins:app.json
Expo Router Plugin
Enables file-based routing with automatic navigation setup.Expo Splash Screen Plugin
Configures the splash screen shown during app initialization:- Image:
./assets/images/splash-icon.png(200px wide logo) - Light mode: White background (
#ffffff) - Dark mode: Black background (
#000000) - Resize mode:
contain(maintains aspect ratio)
Experimental Features
app.json
New Architecture
React Native’s new architecture for better performance (
newArchEnabled: true)Typed Routes
TypeScript support for Expo Router routes with autocomplete and type safety
React Compiler
Automatic optimization of React components at build time
TypeScript Configuration
The app uses TypeScript with custom path aliases:tsconfig.json
Path Aliases
../../../.
Environment-Specific Configuration
For environment variables and secrets:Modifying Configuration
Next Steps
Building
Learn how to build your app for iOS, Android, and Web
Deployment
Deploy your configured app to app stores and the web