Next.js's production build type-checks the whole repo by tsconfig.json's default include glob, which picked up mobile/'s .tsx files once the Docker image's git checkout finally included mobile/ (first pull to include it) — none of mobile's own dependencies (react-native, expo-router, ...) are installed in that container, so the build failed outright. mobile/ is now excluded from tsconfig.json and .dockerignore; it's a separate app with its own tsconfig/package.json and was never meant to be type-checked or shipped as part of the web image. Also completes the mobile EAS/FCM push setup (app.json's extra.eas.projectId and googleServicesFile, google-services.json gitignored) and adds a 15s timeout around getExpoPushTokenAsync so a device that can't reach FCM fails visibly instead of hanging silently forever. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"expo": {
|
|
"name": "PawFeed",
|
|
"slug": "pawfeed-mobile",
|
|
"scheme": "pawfeed",
|
|
"version": "1.0.0",
|
|
"orientation": "portrait",
|
|
"icon": "./assets/icon.png",
|
|
"userInterfaceStyle": "light",
|
|
"newArchEnabled": true,
|
|
"ios": {
|
|
"supportsTablet": true,
|
|
"bundleIdentifier": "org.pawfeed.app"
|
|
},
|
|
"android": {
|
|
"package": "org.pawfeed.app",
|
|
"googleServicesFile": "./google-services.json",
|
|
"adaptiveIcon": {
|
|
"backgroundColor": "#fafafa",
|
|
"foregroundImage": "./assets/android-icon-foreground.png",
|
|
"backgroundImage": "./assets/android-icon-background.png",
|
|
"monochromeImage": "./assets/android-icon-monochrome.png"
|
|
},
|
|
"predictiveBackGestureEnabled": false,
|
|
"permissions": [
|
|
"android.permission.RECORD_AUDIO"
|
|
]
|
|
},
|
|
"web": {
|
|
"favicon": "./assets/favicon.png"
|
|
},
|
|
"plugins": [
|
|
"expo-router",
|
|
"expo-secure-store",
|
|
"expo-font",
|
|
"expo-dev-client",
|
|
"expo-image",
|
|
"expo-system-ui",
|
|
[
|
|
"expo-image-picker",
|
|
{
|
|
"photosPermission": "Erlaube PawFeed den Zugriff auf deine Fotos, um sie in einem Beitrag zu teilen.",
|
|
"cameraPermission": "Erlaube PawFeed den Zugriff auf die Kamera, um ein Foto für deinen Beitrag aufzunehmen."
|
|
}
|
|
],
|
|
"expo-video",
|
|
[
|
|
"expo-notifications",
|
|
{
|
|
"icon": "./assets/android-icon-monochrome.png",
|
|
"color": "#f97316"
|
|
}
|
|
]
|
|
],
|
|
"extra": {
|
|
"router": {},
|
|
"eas": {
|
|
"projectId": "e56a076a-08a2-4e4e-afa0-dfc611fba536"
|
|
}
|
|
},
|
|
"owner": "pawfeed"
|
|
}
|
|
}
|