-
-
Notifications
You must be signed in to change notification settings - Fork 168
Add a new custom icon
Alexander Harding edited this page Dec 9, 2023
·
3 revisions
Adding a new custom icon is a lengthy and annoying process.
- Resize icon to 1024x1024 PNG
- Run through https://tinypng.com
- Determine a good name for it: a-z characters only
- Add to
public/alternateIcons
andios/App/App/public/AlternateIcons
- In Android project, go to Resource Manager -> (plus) -> Image Asset
- Add image with name to foreground layer source asset
Foreground Layer -> Scaling -> Resize 67%, Trim -> No
Background Layer -> Source Asset = "Image", for image choose 1x1 transparent PNG
- Add another
activity-alias
toAndroidManifest.xml
- For iOS, add image to image assets. IMPORTANT: Append
_v2
to name! - In
appIconSlice.tsx
, add icon name toAPP_ICONS
. Fix resulting typescript errors.