feat(mobile): Add field app with date range navigation
- Add React Native Expo field app for mobile staff - Use main /appointments/ endpoint with date range support - Add X-Business-Subdomain header for tenant context - Support day/week view navigation - Remove WebSocket console logging from frontend - Update AppointmentStatus type to include all backend statuses - Add responsive status legend to scheduler header 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
58
mobile/field-app/app.json
Normal file
58
mobile/field-app/app.json
Normal file
@@ -0,0 +1,58 @@
|
||||
{
|
||||
"expo": {
|
||||
"name": "SmoothSchedule Field",
|
||||
"slug": "smoothschedule-field-app",
|
||||
"version": "1.0.0",
|
||||
"orientation": "portrait",
|
||||
"icon": "./assets/icon.png",
|
||||
"scheme": "smoothschedule-field",
|
||||
"userInterfaceStyle": "light",
|
||||
"splash": {
|
||||
"image": "./assets/splash.png",
|
||||
"resizeMode": "contain",
|
||||
"backgroundColor": "#2563eb"
|
||||
},
|
||||
"assetBundlePatterns": [
|
||||
"**/*"
|
||||
],
|
||||
"ios": {
|
||||
"supportsTablet": false,
|
||||
"bundleIdentifier": "com.smoothschedule.field",
|
||||
"infoPlist": {
|
||||
"NSLocationWhenInUseUsageDescription": "We need your location to show your position on the map and update customers about your arrival.",
|
||||
"NSLocationAlwaysAndWhenInUseUsageDescription": "We need your location in the background to update customers about your arrival while you're driving.",
|
||||
"UIBackgroundModes": [
|
||||
"location"
|
||||
]
|
||||
}
|
||||
},
|
||||
"android": {
|
||||
"adaptiveIcon": {
|
||||
"foregroundImage": "./assets/adaptive-icon.png",
|
||||
"backgroundColor": "#2563eb"
|
||||
},
|
||||
"package": "com.smoothschedule.field",
|
||||
"permissions": [
|
||||
"ACCESS_COARSE_LOCATION",
|
||||
"ACCESS_FINE_LOCATION",
|
||||
"ACCESS_BACKGROUND_LOCATION"
|
||||
],
|
||||
"usesCleartextTraffic": true
|
||||
},
|
||||
"plugins": [
|
||||
"expo-router",
|
||||
"expo-secure-store",
|
||||
[
|
||||
"expo-location",
|
||||
{
|
||||
"locationAlwaysAndWhenInUsePermission": "Allow SmoothSchedule Field to use your location to update customers about your arrival."
|
||||
}
|
||||
],
|
||||
"expo-asset",
|
||||
"expo-font"
|
||||
],
|
||||
"experiments": {
|
||||
"typedRoutes": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user