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).
34 lines
851 B
JSON
34 lines
851 B
JSON
{
|
|
"cli": {
|
|
"version": ">= 23.2.0",
|
|
"appVersionSource": "local"
|
|
},
|
|
"build": {
|
|
"development": {
|
|
"developmentClient": true,
|
|
"distribution": "internal"
|
|
},
|
|
"preview": {
|
|
"distribution": "internal",
|
|
"env": {
|
|
"EXPO_PUBLIC_API_URL": "https://pawfeed.org",
|
|
"EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY": "pk_live_Y2xlcmsucGF3ZmVlZC5vcmck",
|
|
"EXPO_PUBLIC_SUPABASE_URL": "https://gqhsovpcfgffdtjxumyy.supabase.co"
|
|
}
|
|
},
|
|
"production": {
|
|
"android": {
|
|
"buildType": "app-bundle"
|
|
},
|
|
"env": {
|
|
"EXPO_PUBLIC_API_URL": "https://pawfeed.org",
|
|
"EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY": "pk_live_Y2xlcmsucGF3ZmVlZC5vcmck",
|
|
"EXPO_PUBLIC_SUPABASE_URL": "https://gqhsovpcfgffdtjxumyy.supabase.co"
|
|
}
|
|
}
|
|
},
|
|
"submit": {
|
|
"production": {}
|
|
}
|
|
}
|