Favicons Generator Download 1.0

This component/theme works with latest OSSN version.
5.0
Indonesian Arsalan Shah 1 month ago

Allow you to generate cross platform favicon for your social network. Also supports PWA with service worker. This components based on original Favicon and Service worker by Michael. As the realfavicongenerator API wasn't working anymore and I also really wanted to have component that should work without the API so I created this component.

This component is not much tested. I tested PWA on android and web it works fine. I receives the installation dialog on chrome/firefox which installs the app on desktop and android phone.

enter image description here

enter image description here

Comments
German Dominik L Replied 5 days ago

Regarding

The WebApp is ignoring rotation lock on android

I found this:

https://stackoverflow.com/questions/77125890/prevent-screen-rotation-in-a-pwa-if-it-is-locked-in-the-os

I basically removed the "orientation" line from manifest - that solved the issue for me

Indonesian Arsalan Shah Replied 5 days ago

If it works for you its fine that os what i said i have no plan changing just because of you sir.

German Dominik L Replied 5 days ago

As I said:

I changed the manifest.json and the browserconfig.xml and added a
different logo, that works fine, maybe you can add this as an option?

Why shouldn't this work?

Indonesian Arsalan Shah Replied 6 days ago

I can not. Favicon is what pwa actually uses.

German Dominik L Replied 7 days ago

Idea:
Can you maybe add different graphics for Favicon and PWA?

For my PWA I use a logo with the site name in it, but that makes no sense for the normal Favicon.

I changed the manifest.json and the browserconfig.xml and added a different logo, that works fine, maybe you can add this as an option?

Indonesian Arsalan Shah Replied 1 week ago

No idea as its requires in past for PWA installation.

German Dominik L Replied 2 weeks ago

One question:

Why is there a part for push notifications in the service worker, when OSSN PWA has no native push notifications?

Indonesian Arsalan Shah Replied 2 weeks ago

I will check

German Dominik L Replied 2 weeks ago

I have an android with android 14 and WebApp through Google Chrome

The WebApp is ignoring rotation lock on android

When I activate the screen rotation lock, the WebApp is ignoring that

On other websites it is working, so it's a problem with ossn.

Guess that is handled through this component?

Component

Developer: Arsalan
License ossnv4
Type: Site admin
Requires Ossn Version : 7.6
Latest Version: 1.0
Last Updated 1 month ago
Repository Url View Repository

Versions