From 5cf454274c04c7c4ada9f816f774d762cf9ac880 Mon Sep 17 00:00:00 2001 From: shafi54 <108669266+shafi-aviz@users.noreply.github.com> Date: Wed, 18 Nov 2026 22:42:11 +0530 Subject: [PATCH] enh --- apps/user-ui/app.json | 4 ++++ change-log.txt | 48 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/apps/user-ui/app.json b/apps/user-ui/app.json index c1a11d7..c7ce533 100644 --- a/apps/user-ui/app.json +++ b/apps/user-ui/app.json @@ -64,6 +64,10 @@ } }, "android": { + "blockedPermissions": [ + "android.permission.READ_MEDIA_IMAGES", + "android.permission.READ_MEDIA_VIDEO" + ], "softwareKeyboardLayoutMode": "resize", "adaptiveIcon": { "foregroundImage": "./assets/images/freshyo-logo.png", diff --git a/change-log.txt b/change-log.txt index 40e75d7..20e7040 100644 --- a/change-log.txt +++ b/change-log.txt @@ -1963,3 +1963,51 @@ Screens: 01-home, 02-one-hour-delivery, 03-stores, 04-my-account Status bar was overridden to 9:41 / full wifi / charged for both devices (xcrun simctl status_bar override --time 9:41 ...). + +[2026-11-18 17:01 IST] store-screenshots: strip alpha so App Store Connect accepts them. + +xcrun simctl screenshots are 8-bit RGBA. App Store Connect rejects PNGs with an +alpha channel (the validator reports it as a dimensions/size error even though +1320x2868 and 1242x2688 were already exact). + +Re-encoded all 9 PNGs in place (CoreGraphics, sRGB, 72 dpi, alpha dropped, +pixels otherwise untouched): +- apps/user-ui/store-screenshots/iphone-6.9-inch/*.png -> 8-bit/color RGB, hasAlpha: no +- apps/user-ui/store-screenshots/iphone-6.5-inch/*.png -> 8-bit/color RGB, hasAlpha: no +Also removed the stray .DS_Store files from those folders. + +[2026-11-18 17:04 IST] store-screenshots: add the 6.3" (medium display) set. + +App Store Connect 2026 names the screenshot tabs by device class and sizes are +not interchangeable: the tab you land on is "iPhone with Dynamic Island (medium +display)" and it only accepts 1179x2556 or 1206x2622, so 1320x2868 / 1242x2688 +files fail there with a dimensions error even though they are valid elsewhere. + +New: apps/user-ui/store-screenshots/iphone-6.3-inch-medium/*.png +Scaled from the 6.9" set with CoreGraphics (high interpolation, sRGB, 72 dpi, +no alpha): 1206 x 2622, 8-bit/color RGB, hasAlpha: no. +The 6.9" (1320x2868) and 6.5" (1242x2688) sets are unchanged and still valid +for the "large display" / "Face ID (large display)" tabs. + +[2026-11-18 18:59:28 IST] user-ui (android): strip the media-read permissions nothing uses. + +READ_MEDIA_IMAGES ships only because expo-screen-capture is installed (its +AndroidManifest declares it for API 33); no code imports that module. +READ_MEDIA_VIDEO is declared by nothing in node_modules today - blocking it is +a guard against a transitive AAR merging it back in. + +Photos are picked with ImagePicker.launchImageLibraryAsync({mediaTypes:['images']}), +which uses the Android Photo Picker (no storage permission on 13+), and defect +photos come from CameraView (CAMERA only). The legacy READ/WRITE_EXTERNAL_STORAGE +pair (maxSdkVersion=32) stays so picking still works on Android <= 12. + +--- apps/user-ui/app.json + "android": { ++ "blockedPermissions": [ ++ "android.permission.READ_MEDIA_IMAGES", ++ "android.permission.READ_MEDIA_VIDEO" ++ ], + "softwareKeyboardLayoutMode": "resize", + ... + +Native change: needs a rebuild; cannot ship over OTA.