Files
petfeed/mobile/package.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

53 lines
1.5 KiB
JSON

{
"name": "pawfeed-mobile",
"version": "1.0.0",
"main": "expo-router/entry",
"dependencies": {
"@clerk/expo": "^4.6.1",
"@expo-google-fonts/inter": "^0.4.2",
"@tanstack/query-sync-storage-persister": "^5.102.8",
"@tanstack/react-query": "5.102.8",
"@tanstack/react-query-persist-client": "^5.102.8",
"@trpc/client": "11.17.0",
"@trpc/tanstack-react-query": "11.17.0",
"expo": "~57.0.20",
"expo-constants": "~57.0.16",
"expo-dev-client": "~57.0.18",
"expo-file-system": "~57.0.6",
"expo-font": "~57.0.3",
"expo-image": "~57.0.4",
"expo-image-picker": "~57.0.16",
"expo-linking": "~57.0.9",
"expo-localization": "~57.0.1",
"expo-notifications": "~57.0.17",
"expo-router": "~57.0.19",
"expo-secure-store": "~57.0.3",
"expo-splash-screen": "~57.0.8",
"expo-status-bar": "~57.0.1",
"expo-system-ui": "~57.0.3",
"expo-video": "~57.0.3",
"i18next": "^26.4.2",
"lucide-react-native": "^1.41.0",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-i18next": "^17.0.13",
"react-native": "0.86.3",
"react-native-mmkv": "^4.3.2",
"react-native-nitro-modules": "^0.37.1",
"react-native-safe-area-context": "~5.7.0",
"react-native-screens": "~4.26.0",
"react-native-svg": "15.15.4"
},
"devDependencies": {
"@types/react": "~19.2.2",
"typescript": "~6.0.3"
},
"scripts": {
"start": "expo start --dev-client",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web"
},
"private": true
}