skiptools / skiptools/skip-ui

File name for images with @ in it will only render on iOS and be blank on Android

Open
#195 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
330
Forks
76
Avg merge
3h 6m
Merged PRs (30d)
1

Description

example the file name "Skipping Man@0.5x.png" when placed into the Module.xcassets

This rendered file with Image("skipingman", bundle: .module) .resizable() .scaledToFill() .ignoresSafeArea()
on IOS but not Android

if I rename the file to skippingm.png before I add it to the catalog then it work one both platforms.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with "Skipping Man@0.5x.png" in Module.xcassets and the Image("skipingman", bundle: .module) call shown in the report. Trace how the asset name is handled on Android versus iOS. Done means the image renders on Android without requiring the filename to be renamed.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.