// Expo app config for the {{projectName}} mobile app. // // NOTE: this is EXPO's config, NOT Voltro's `type: 'web'|'api'` app.config. A // mobile app is not run by `voltro dev` — Expo owns Metro and the simulator // (`expo start` / `expo run:ios`). The sibling api this app consumes still runs // under `voltro dev`; the app connects to it over HTTP/WebSocket via // `EXPO_PUBLIC_API_WS_URL` / `EXPO_PUBLIC_API_PORT` (see src/client.ts). // // `scheme` is the custom URL scheme that makes deep links open THIS app // (`{{appName}}://orders/42`). Keep it in sync with the deep-link table in // src/lib/deeplinks.ts — `voltro mobile doctor` (planned) checks this. import type { ExpoConfig } from 'expo/config' const config: ExpoConfig = { name: '{{capProjectName}}{{capAppName}}', slug: '{{projectName}}-{{appName}}', scheme: '{{appName}}', version: '0.0.0', orientation: 'portrait', userInterfaceStyle: 'automatic', newArchEnabled: true, ios: { supportsTablet: true, bundleIdentifier: 'com.{{projectName}}.{{appName}}' }, android: { package: 'com.{{projectName}}.{{appName}}' }, plugins: [ 'expo-router', 'expo-secure-store', // Add 'expo-notifications' here once you wire the push pipeline // (see plans/open/mobile/02-push-pipeline.md). ], experiments: { typedRoutes: true }, } export default config