public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Shan Shaji <s.shaji@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH pve_flutter_frontend v2 0/2] feat #6983: add dark and tint mode support for app icon
Date: Fri, 31 Oct 2025 17:32:35 +0100	[thread overview]
Message-ID: <20251031163237.50325-1-s.shaji@proxmox.com> (raw)

Previously, the home screen customization that allows users to change
the light, dark, and tint options was not reflected in the app icon.
This was because no dark mode variant and tint variant was added in
the asset catalogue.

To support dark mode icons, the new App Icon Composer was used to
create icons for light, dark, and tint variants with liquid glass
support. The app icon now adapts dynamically based on the user’s
customization selection. 

For older iOS versions the behavior would be the following:
> If your app supports previous releases (in the Minimum Deployments settings in the 
> target’s General pane) that don’t have the same icon and widget style appearances 
> and Liquid Glass material, Xcode automatically generates app icon images at build 
> time for those releases from the Icon Composer file.

The above qouted paragraph is taken from apple's documentation [1]. Since
the composer file will be used for generating icons i have deleted 
asset catalogue files as well. 

The ticket #6983 [0] has also some other issues that needs to be addressed
which i will be sending as another patch series. 

- [0] https://bugzilla.proxmox.com/show_bug.cgi?id=6983
- [1] https://developer.apple.com/documentation/Xcode/creating-your-app-icon-using-icon-composer


Testing
=============
Verified the changes in Test Flight build 1.9.0(48). I have also tested
the changes in the following simulator devices as well:

- Iphone 16e (iOS 18.5)
- Iphone 16e (iOS 26.0.1)
- Ipad Air 11-inch (iOS 26.0)
- Ipad Air 11 (iOS 18.5)

changes since v1: 
- Moved the .icon file to Runner folder from the iOS folder. 

Shan Shaji (2):
  fix #6983: ios: allow dark and tint mode icon using icon composer file
  chore: ios: delete asset catalogue files in favor of icon composer
    file

 ios/Runner.xcodeproj/project.pbxproj          |  11 +-
 ios/Runner/AppIcon.icon/Assets/dark.svg       |   6 +
 ios/Runner/AppIcon.icon/Assets/light.svg      |   6 +
 ios/Runner/AppIcon.icon/icon.json             |  52 ++++++++
 .../AppIcon.appiconset/Contents.json          | 122 ------------------
 .../Icon-App-1024x1024@1x.png                 | Bin 126022 -> 0 bytes
 .../AppIcon.appiconset/Icon-App-20x20@1x.png  | Bin 692 -> 0 bytes
 .../AppIcon.appiconset/Icon-App-20x20@2x.png  | Bin 2050 -> 0 bytes
 .../AppIcon.appiconset/Icon-App-20x20@3x.png  | Bin 3321 -> 0 bytes
 .../AppIcon.appiconset/Icon-App-29x29@1x.png  | Bin 1425 -> 0 bytes
 .../AppIcon.appiconset/Icon-App-29x29@2x.png  | Bin 3367 -> 0 bytes
 .../AppIcon.appiconset/Icon-App-29x29@3x.png  | Bin 5147 -> 0 bytes
 .../AppIcon.appiconset/Icon-App-40x40@1x.png  | Bin 2050 -> 0 bytes
 .../AppIcon.appiconset/Icon-App-40x40@2x.png  | Bin 4699 -> 0 bytes
 .../AppIcon.appiconset/Icon-App-40x40@3x.png  | Bin 7470 -> 0 bytes
 .../AppIcon.appiconset/Icon-App-60x60@2x.png  | Bin 7470 -> 0 bytes
 .../AppIcon.appiconset/Icon-App-60x60@3x.png  | Bin 11744 -> 0 bytes
 .../AppIcon.appiconset/Icon-App-76x76@1x.png  | Bin 4378 -> 0 bytes
 .../AppIcon.appiconset/Icon-App-76x76@2x.png  | Bin 9529 -> 0 bytes
 .../Icon-App-83.5x83.5@2x.png                 | Bin 1418 -> 0 bytes
 20 files changed, 73 insertions(+), 124 deletions(-)
 create mode 100644 ios/Runner/AppIcon.icon/Assets/dark.svg
 create mode 100644 ios/Runner/AppIcon.icon/Assets/light.svg
 create mode 100644 ios/Runner/AppIcon.icon/icon.json
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
 delete mode 100644 ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png

-- 
2.50.1



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

             reply	other threads:[~2025-10-31 16:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-31 16:32 Shan Shaji [this message]
2025-10-31 16:32 ` [pve-devel] [PATCH pve_flutter_frontend v2 1/2] fix #6983: ios: allow dark and tint mode icon using icon composer file Shan Shaji

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251031163237.50325-1-s.shaji@proxmox.com \
    --to=s.shaji@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal