#icon.png overriding favicon.ico

21 messages · Page 1 of 1 (latest)

last creek
#

I have these two. I want to use the favicon.ico for the browser tab. It has a transparent background. And the icon.png for bookmarking and saving the app on the Home Screen on any device. Right now I’m using apple-icon.png and that’s not giving me and issue. But when I add icon.png like from the docs it’s overriding my favicon.ico, why?

dull flareBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

sand kindle
#

icon.png will always override favicon.ico because it's more granular and can live in any segment your app folder.

favicon.ico can only live in the route segment of the app folder

last creek
#

So I can either use icon.png or favicon.ico not both?

#

Because the apple-icon.png if you save it on your home page it shows that icon.

On android what icon would that show if I don’t include the icon.png file? Just a placeholder right?

Because my favicon is different than my icon.png

worthy anchor
burnt badger
sand kindle
burnt badger
sand kindle
burnt badger
sand kindle
burnt badger
#

Umm currently I only have one as far as I'm aware. I didn't get to tablet/mobile layout design yet.

sand kindle
burnt badger
sand kindle
#

Yeah not something you'd use everyday but definitely useful when you need it

last creek
#

I just created a new repo and it worked fine

#

I think it’s something in the repo that I’m working with that it’s doing this

#

Also using next 14.1.4

#

Not sure if that makes a difference

#

The new repo was using next 14.2.11