iKenndac / Tofu

An easy-to-use two-factor authentication app for iOS
https://tofuauth.com
ISC License
503 stars 64 forks source link

Fetching icons through apple-touch-icon.png #76

Open NanoSector opened 3 years ago

NanoSector commented 3 years ago

Many sites allow themselves to be installed as a web-app with additional benefits on iOS. These webapps fetch their icon from a specific endpoint: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html

An example of this would be https://tweakers.net/apple-touch-icon.png - although this specific image is slightly too small to be used with Tofu acccording to the README.

Perhaps the ability to add URLs to entries may be considered, upon which Tofu would be able to try these endpoints (on user consent, of course). Or the ability to "import" icons from URLs like that or from the filesystem?

An added benefit of using external icons is that there would be no need to include logos in this repository, which might pose a copyright issue.