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).
No files matched your search
@@ -13,11 +13,11 @@
|
||||
},
|
||||
"android": {
|
||||
"package": "org.pawfeed.app",
|
||||
"versionCode": 1,
|
||||
"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,
|
||||
@@ -50,7 +50,16 @@
|
||||
"color": "#f97316"
|
||||
}
|
||||
],
|
||||
"expo-localization"
|
||||
"expo-localization",
|
||||
[
|
||||
"expo-splash-screen",
|
||||
{
|
||||
"image": "./assets/splash-icon.png",
|
||||
"imageWidth": 200,
|
||||
"resizeMode": "contain",
|
||||
"backgroundColor": "#fafafa"
|
||||
}
|
||||
]
|
||||
],
|
||||
"extra": {
|
||||
"router": {},
|
||||
|
||||
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 9.9 KiB After Width: | Height: | Size: 16 KiB |
@@ -17,6 +17,9 @@
|
||||
}
|
||||
},
|
||||
"production": {
|
||||
"android": {
|
||||
"buildType": "app-bundle"
|
||||
},
|
||||
"env": {
|
||||
"EXPO_PUBLIC_API_URL": "https://pawfeed.org",
|
||||
"EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY": "pk_live_Y2xlcmsucGF3ZmVlZC5vcmck",
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
"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",
|
||||
@@ -6454,6 +6455,20 @@
|
||||
"node": ">=20.16.0"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-splash-screen": {
|
||||
"version": "57.0.8",
|
||||
"resolved": "https://registry.npmjs.org/expo-splash-screen/-/expo-splash-screen-57.0.8.tgz",
|
||||
"integrity": "sha512-BEsrKg4niYBZa5AFzWRyGqxA4ZemtBOPwbCy+C336iGYYPuZYLEgWJGmm2xD1gRfCdrM/TP+l2ONd86Zvk3KyA==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@expo/config-plugins": "~57.0.9",
|
||||
"@expo/image-utils": "^0.11.5",
|
||||
"xml2js": "0.6.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"expo": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/expo-status-bar": {
|
||||
"version": "57.0.1",
|
||||
"resolved": "https://registry.npmjs.org/expo-status-bar/-/expo-status-bar-57.0.1.tgz",
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
"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",
|
||||
|
||||