Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(Cross): [IOAPPX-434] Update the main icon app for iOS + Add support for dark and tinted appearances #6415

Merged
merged 9 commits into from
Nov 20, 2024

Conversation

dmnplb
Copy link
Contributor

@dmnplb dmnplb commented Nov 18, 2024

Short description

This PR updates the main icon app for iOS and adds support for dark and tinted appearances. Check out the video below for a preview.

List of changes proposed in this pull request

  • Add three different icon assets at 1024×1024 size for default, dark and tinted appearances
  • Update icon in the main README

Preview

dynamic-app-icons.mp4

How to test

  1. Run the app in the local environment
  2. Go to Customize… option through long press on the home screen
  3. Change visual appearance
  4. Check if the optical alignment is correct (for visual designers only 👀)

@dmnplb dmnplb added the Design System New visual language and reduction of previous UI clutter label Nov 18, 2024
@pagopa-github-bot pagopa-github-bot changed the title [IOAPPX-434] Update the main icon app for iOS + Add support for dark and tinted appearances chore(Cross): [IOAPPX-434] Update the main icon app for iOS + Add support for dark and tinted appearances Nov 18, 2024
@pagopa-github-bot
Copy link
Collaborator

pagopa-github-bot commented Nov 18, 2024

Affected stories

  • ⚙️ IOAPPX-434: Aggiornamento dell'icona iOS con supporto al tema dark
    subtask of

Generated by 🚫 dangerJS against 4776003

Copy link

codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.69%. Comparing base (4f204b4) to head (4776003).
Report is 743 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6415      +/-   ##
==========================================
- Coverage   48.42%   47.69%   -0.74%     
==========================================
  Files        1488     1604     +116     
  Lines       31617    32216     +599     
  Branches     7669     7441     -228     
==========================================
+ Hits        15311    15365      +54     
- Misses      16238    16798     +560     
+ Partials       68       53      -15     

see 1657 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4d28904...4776003. Read the comment docs.

---- 🚨 Try these New Features:

ios/Podfile.lock Outdated Show resolved Hide resolved
Copy link
Contributor

@Hantex9 Hantex9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Tested on a real device and works as described 🚀

@dmnplb dmnplb merged commit 455f0bb into master Nov 20, 2024
11 checks passed
@dmnplb dmnplb deleted the IOAPPX-434-update-ios-app-icon-dark-theme branch November 20, 2024 13:53
dmnplb added a commit that referenced this pull request Nov 25, 2024
…a channel and fix App Store issue (#6451)

## Short description
This PR updates the `IconApp` iOS assets, introduced in the PR
#6415, to fix the App Store Connect
issue. The previous assets incorrectly included an alpha channel even
when there was no transparent layer, as you can see in the attached
screenshot:

<img width="384" alt="Screenshot 2024-11-25 at 12 11 48"
src="https://github.com/user-attachments/assets/6c95d8aa-7ac3-45a9-8b37-0b25cfd5264b">

## List of changes proposed in this pull request
- Remove alpha channel from the PNG related to the light and tinted
appearances
- Leave alpha channel on the dark appearance only
- Assign the `sRGB` color profile to all the icons 

## How to test
Try to build the app with App Store Connect and pray 🙏

Co-authored-by: Cristiano Tofani <[email protected]>
dmnplb added a commit that referenced this pull request Nov 26, 2024
…ection (#6458)

## Short description
This PR removes dark mode app icon to try to fix build rejection.

### Related PRs
* #6415
* #6451

## How to test
N/A

Co-authored-by: Cristiano Tofani <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cross Design System New visual language and reduction of previous UI clutter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants