-
Notifications
You must be signed in to change notification settings - Fork 4
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
App icon not displaying on some devices #22
Comments
Thanks for the suggestion! That said, if you have any ideas for new logo designs or ways that the icon can be used within the app, I would definitely be open to considering them! |
well, for starters, there should be a favicon and icons formatted for all devices (ex: apple iPhone, android, etc.) here is a list of possible icon names that can be used and how they are used: that should be all. |
ohhh that makes more sense, I thought you meant like displaying the icon to the user inside the There are already 512px and 192 px icons defined both here for iOS and in the Thanks for the detailed list! |
Here is an example that can be used <title>ClassClock</title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=LbWArJzeO7">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=LbWArJzeO7">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=LbWArJzeO7">
<link rel="manifest" href="/site.webmanifest?v=LbWArJzeO7">
<link rel="mask-icon" href="/safari-pinned-tab.svg?v=LbWArJzeO7" color="#5bbad5">
<link rel="shortcut icon" href="/favicon.ico?v=LbWArJzeO7">
<meta name="apple-mobile-web-app-title" content="ClassClock">
<meta name="application-name" content="ClassClock">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="theme-color" content="#008080">
<meta name="viewport" content="width=device-width, user-scalable=no"> |
well that definitely isn't supposed to happen. Thanks for the sample code! I'm not sure when I will be able to get around to making this change though, so if you'd like to make a pull request, that would be amazing! |
I just made a good icon for the mstile version |
upon some further investigation, it seems like thee icons may have been configured correctly, but the redux-first-routing model of the app is not configured to correctly returning the appropriate assets. |
also probably caused by the same or similar routing issues that are causing #25 |
this could also be caused by whatever software is bundling the app up seemingly not including the image assets from the |
Another reason it might not be showing up is that the favicon is not properly configured. I am going to fork this to Repl.it and run some tests to see if I can fix it. I will report back with the information I found. Edit: Nevermind, I found out the solution. The reason there is no icon popping up is that there is no icon defined as the favicon. here is a line of HTML code that would work in this situation <link rel="icon" href="/assets/images/favicon.ico" type="image/x-icon"> |
does the |
When you create a shortcut in a browser, it relies on the favicon and uses that. |
turns out that all that was needed was to move the icons to the Should be fixed in fab5c5a |
OK I'll check it out Update: Still Does not work. Might run a lighthouse test to double-check. |
I already did some and will send them to you. |
I JUST FOUND OUT WHAT'S GOING ON! |
i am just testing the online version. i found it out via the javascript console. |
it turns out that the online version relies on the |
Yep, thats pretty much what happened in commit fab5c5a, i think there was already an after this commit, icons in |
While the app does have an icon, never in the app itself is it used. this would be a great thing to fix in the future.
The text was updated successfully, but these errors were encountered: