File name for images with @ in it will only render on iOS and be blank on Android
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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