Files
petfeed/mobile/app.json
T
admin de3a52f9b2 fix(mobile): fix app icon/splash rendering, prepare Play Store production build
Icon fix: android-icon-foreground/monochrome.png (and icon.png/
favicon.png/splash-icon.png) were the wide website wordmark logo
(paw + "PawFeed" text), with the actual paw glyph confined to a tiny
78x79px region on the far left of a 512x512 canvas. Android's adaptive
icon system only renders the center ~66% safe zone, so almost none of
the design was ever visible — explaining the "nearly all black" home
screen icon. Isolated the paw glyph via its orange pixel bounding box
and re-centered it properly on each target canvas (transparent for
foreground/monochrome/splash, solid background for icon.png/favicon).
monochrome.png is now a true white-alpha silhouette (Android's spec)
instead of sharp's tint() output, which produced gray instead of white.

Also removed android-icon-background.png — it was the same oversized
wordmark logo, redundant with (and overriding) the adaptiveIcon
backgroundColor that was already set to the same color.

Splash screen: expo-splash-screen was never installed despite
splash-icon.png existing in assets/ — app had no splash config at all,
which explains the light-gray placeholder/broken-image glyph seen on
launch (a generic fallback, not this app's own asset). Installed and
configured with the corrected splash-icon.png.

Play Store prep: added android.versionCode (required once
appVersionSource is "local" and unset until now) and made the
production build profile explicit about android.buildType: app-bundle
(required for Play Store; "preview" stays APK for direct install).
2026-09-07 15:29:52 +02:00

73 lines
1.8 KiB
JSON

{
"expo": {
"name": "PawFeed",
"slug": "pawfeed-mobile",
"scheme": "pawfeed",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "automatic",
"ios": {
"supportsTablet": true,
"bundleIdentifier": "org.pawfeed.app"
},
"android": {
"package": "org.pawfeed.app",
"versionCode": 1,
"googleServicesFile": "./google-services.json",
"adaptiveIcon": {
"backgroundColor": "#fafafa",
"foregroundImage": "./assets/android-icon-foreground.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"
}
],
"expo-localization",
[
"expo-splash-screen",
{
"image": "./assets/splash-icon.png",
"imageWidth": 200,
"resizeMode": "contain",
"backgroundColor": "#fafafa"
}
]
],
"extra": {
"router": {},
"eas": {
"projectId": "e56a076a-08a2-4e4e-afa0-dfc611fba536"
}
},
"owner": "pawfeed"
}
}