Skip to content
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

Add iOS icon or create an iOS app #93

Closed
metmarkosaric opened this issue Jun 19, 2020 · 10 comments
Closed

Add iOS icon or create an iOS app #93

metmarkosaric opened this issue Jun 19, 2020 · 10 comments
Labels
feature request New feature or request

Comments

@metmarkosaric
Copy link
Contributor

"I’ve added Plausible to my home screen, but the website doesn’t have an iOS icon. Creating a simple iOS app using a web view would also be nice.

This would be much appreciated and would take about 5 minutes. Just create a PNG (512x512) file in the root of the site named: apple-touch-icon.png with the apps icon. Done.

I’d recommend this, if you haven’t yet seen it: https://realfavicongenerator.net/"

(imported from the old roadmap)

@metmarkosaric metmarkosaric added the feature request New feature or request label Jun 19, 2020
@metmarkosaric
Copy link
Contributor Author

Tried the site referenced above and this is what I got. Has to be tested to see if it actually looks good on a phone screen.

apple-touch-icon

@metmarkosaric
Copy link
Contributor Author

Couple of higher quality alternatives:

apple-touch-icon2

apple-touch-icon

@metmarkosaric
Copy link
Contributor Author

metmarkosaric commented Jul 8, 2020

We pushed an update that includes the iOS icon. Can someone with an Apple device verify if it all works fine please? Thanks!

This is what we included in the code:

<link rel="apple-touch-icon" type="image/png" href="/images/icon/apple-touch-icon.png">

@tckb
Copy link
Contributor

tckb commented Jul 8, 2020

051AD893-5181-434D-A53C-589B240F47BD
Icon has black background

@metmarkosaric
Copy link
Contributor Author

Thanks @tckb! From what I see iOS fills the transparent regions with black automatically.

@metmarkosaric
Copy link
Contributor Author

Just created an icon with white background too.

apple-touch-icon

@tckb
Copy link
Contributor

tckb commented Jul 8, 2020

Yes. Apple doesn’t alllow tranperant background. Either fill it with white or settle with black background. Eitherways works for me ;)

@sebdanielsson
Copy link

If it’s supposed to be on a home screen one might wan’t to follow the iOS Human Interface Guidelines:

”Grid system
image

Apple developed a golden ratio grid system that can be used to size and align elements on your icon correctly. Nevertheless, even Apple designers are not following the grid system very strictly with the native apps’ icons. Feel free to break the rules if your icon simply works better without aligning all elements strictly to the grid.”

@metmarkosaric
Copy link
Contributor Author

The iOS icon is now live :)

@wheeleran
Copy link

four years later, can we have this on android as well, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants